diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-06-06 06:56:34 +0000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2018-06-18 11:31:07 -0700 |
commit | 95ffcf471d05ec7c91993c91dea912f99dccfc26 (patch) | |
tree | c6780111002f34bc9f3ed04c986e4bf80a43cb3a /drivers/ata | |
parent | fae2a63737e5973f1426bc139935a0f42e232844 (diff) | |
download | linux-95ffcf471d05ec7c91993c91dea912f99dccfc26.tar.bz2 |
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')
-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; |