summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-24 18:23:06 +0200
committerJeff Garzik <jeff@garzik.org>2007-10-25 01:59:30 -0400
commit741b776335c3e91b0b8bf765a97f9484a3cd5034 (patch)
tree2009248a7ad5ffa36d86ffb29a92e4e9522db647 /drivers/ata
parent218f3d30e60f32394738372c594d063f8e43ee6d (diff)
downloadop-kernel-dev-741b776335c3e91b0b8bf765a97f9484a3cd5034.zip
op-kernel-dev-741b776335c3e91b0b8bf765a97f9484a3cd5034.tar.gz
libata-core.c: make 2 functions static
strn_pattern_cmp() and ata_port_detach() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 294eee3..0ec717b 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;
OpenPOWER on IntegriCloud