summaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-06-06 09:56:34 +0300
committerTejun Heo <tj@kernel.org>2018-06-18 21:31:07 +0300
commit95ffcf471d05ec7c91993c91dea912f99dccfc26 (patch)
treec6780111002f34bc9f3ed04c986e4bf80a43cb3a /drivers/ata
parentfae2a63737e5973f1426bc139935a0f42e232844 (diff)
downloadlinux-95ffcf471d05ec7c91993c91dea912f99dccfc26.tar.xz
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.c2
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;