mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
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>
This commit is contained in:
parent
218f3d30e6
commit
741b776335
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue