diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2014-02-19 18:34:27 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-02-19 19:07:29 -0500 |
commit | 35186d05838e4d828546e6182f7461674a609e08 (patch) | |
tree | 42e44e5420a1e3b6001cef113ac293390efd99f2 | |
parent | e478cffd2a34421cd6651f3656c0622a14cfbeaf (diff) |
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 <daeseok.youn@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r-- | drivers/ata/libahci.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
1386 | return ata_check_ready(status); | 1386 | return ata_check_ready(status); |
1387 | } | 1387 | } |
1388 | 1388 | ||
1389 | int ahci_pmp_retry_softreset(struct ata_link *link, unsigned int *class, | 1389 | static int ahci_pmp_retry_softreset(struct ata_link *link, unsigned int *class, |
1390 | unsigned long deadline) | 1390 | unsigned long deadline) |
1391 | { | 1391 | { |
1392 | struct ata_port *ap = link->ap; | 1392 | struct ata_port *ap = link->ap; |
1393 | void __iomem *port_mmio = ahci_port_base(ap); | 1393 | void __iomem *port_mmio = ahci_port_base(ap); |