diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-06-06 08:56:34 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2018-06-18 20:31:07 +0200 |
commit | 95ffcf471d05ec7c91993c91dea912f99dccfc26 (patch) | |
tree | c6780111002f34bc9f3ed04c986e4bf80a43cb3a /drivers/ata/ahci_mvebu.c | |
parent | libahci: Fix possible Spectre-v1 pmp indexing in ahci_led_store() (diff) | |
download | linux-95ffcf471d05ec7c91993c91dea912f99dccfc26.tar.xz linux-95ffcf471d05ec7c91993c91dea912f99dccfc26.zip |
ata: ahci_mvebu: ahci_mvebu_stop_engine() can be static
Fixes the following sparse warning:
drivers/ata/ahci_mvebu.c:85:5: warning:
symbol 'ahci_mvebu_stop_engine' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/ahci_mvebu.c')
-rw-r--r-- | drivers/ata/ahci_mvebu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci_mvebu.c b/drivers/ata/ahci_mvebu.c index 0045dacd814b..72d90b4c3aae 100644 --- a/drivers/ata/ahci_mvebu.c +++ b/drivers/ata/ahci_mvebu.c @@ -82,7 +82,7 @@ static void ahci_mvebu_regret_option(struct ahci_host_priv *hpriv) * * Return: 0 on success; Error code otherwise. */ -int ahci_mvebu_stop_engine(struct ata_port *ap) +static int ahci_mvebu_stop_engine(struct ata_port *ap) { void __iomem *port_mmio = ahci_port_base(ap); u32 tmp, port_fbs; |