Commit 741b7763 authored by Adrian Bunk's avatar Adrian Bunk Committed by Jeff Garzik

libata-core.c: make 2 functions static

strn_pattern_cmp() and ata_port_detach() can become static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 218f3d30
...@@ -4003,7 +4003,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = { ...@@ -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; const char *p;
int len; int len;
...@@ -6917,7 +6917,7 @@ int ata_host_activate(struct ata_host *host, int irq, ...@@ -6917,7 +6917,7 @@ int ata_host_activate(struct ata_host *host, int irq,
* LOCKING: * LOCKING:
* Kernel thread context (may sleep). * 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; unsigned long flags;
struct ata_link *link; struct ata_link *link;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment