Commit 35186d05 authored by Daeseok Youn's avatar Daeseok Youn Committed by Tejun Heo

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: default avatarDaeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent e478cffd
...@@ -1386,8 +1386,8 @@ static int ahci_bad_pmp_check_ready(struct ata_link *link) ...@@ -1386,8 +1386,8 @@ static int ahci_bad_pmp_check_ready(struct ata_link *link)
return ata_check_ready(status); return ata_check_ready(status);
} }
int ahci_pmp_retry_softreset(struct ata_link *link, unsigned int *class, static int ahci_pmp_retry_softreset(struct ata_link *link, unsigned int *class,
unsigned long deadline) unsigned long deadline)
{ {
struct ata_port *ap = link->ap; struct ata_port *ap = link->ap;
void __iomem *port_mmio = ahci_port_base(ap); void __iomem *port_mmio = ahci_port_base(ap);
......
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