From: Daeseok Youn Date: Wed, 19 Feb 2014 23:34:27 +0000 (+0900) Subject: ata: libahci: make ahci_pmp_retry_softreset() as static X-Git-Tag: Ubuntu-snapdragon-4.4.0-1029.32~9042^2~56 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=35186d05838e4d828546e6182f7461674a609e08;p=mirror_ubuntu-zesty-kernel.git ata: libahci: make ahci_pmp_retry_softreset() as static sparse says: drivers/ata/libahci.c:1390:5: warning: symbol 'ahci_pmp_retry_softreset' was not declared. Should it be static? Signed-off-by: Daeseok Youn Signed-off-by: Tejun Heo --- diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index cba1b483d1a9..0cff1167c83c 100644 --- a/drivers/ata/libahci.c +++ b/drivers/ata/libahci.c @@ -1386,8 +1386,8 @@ static int ahci_bad_pmp_check_ready(struct ata_link *link) return ata_check_ready(status); } -int ahci_pmp_retry_softreset(struct ata_link *link, unsigned int *class, - unsigned long deadline) +static int ahci_pmp_retry_softreset(struct ata_link *link, unsigned int *class, + unsigned long deadline) { struct ata_port *ap = link->ap; void __iomem *port_mmio = ahci_port_base(ap);