From: Adrian Bunk Date: Wed, 24 Oct 2007 16:23:06 +0000 (+0200) Subject: libata-core.c: make 2 functions static X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=741b776335c3e91b0b8bf765a97f9484a3cd5034;p=openwrt%2Fstaging%2Fblogic.git libata-core.c: make 2 functions static strn_pattern_cmp() and ata_port_detach() can become static. Signed-off-by: Adrian Bunk Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 294eee3d86fb..0ec717b748db 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4003,7 +4003,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { { } }; -int strn_pattern_cmp(const char *patt, const char *name, int wildchar) +static int strn_pattern_cmp(const char *patt, const char *name, int wildchar) { const char *p; int len; @@ -6917,7 +6917,7 @@ int ata_host_activate(struct ata_host *host, int irq, * LOCKING: * Kernel thread context (may sleep). */ -void ata_port_detach(struct ata_port *ap) +static void ata_port_detach(struct ata_port *ap) { unsigned long flags; struct ata_link *link;