summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci_imx.c
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2013-12-03 16:25:37 +0100
committerTejun Heo <tj@kernel.org>2013-12-03 16:25:37 +0100
commitee4e5a9abf470908bb04feadec236c51e19fc413 (patch)
treec682c06358132746c2df54785ca18909cacadf93 /drivers/ata/ahci_imx.c
parentahci: imx: Add i.MX53 support (diff)
downloadlinux-ee4e5a9abf470908bb04feadec236c51e19fc413.tar.xz
linux-ee4e5a9abf470908bb04feadec236c51e19fc413.zip
ahci: imx: ahci_imx_softreset() can be static
Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/ahci_imx.c')
-rw-r--r--drivers/ata/ahci_imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci_imx.c b/drivers/ata/ahci_imx.c
index 8cb89655cf06..2daa28891b7f 100644
--- a/drivers/ata/ahci_imx.c
+++ b/drivers/ata/ahci_imx.c
@@ -140,7 +140,7 @@ static void ahci_imx_error_handler(struct ata_port *ap)
imxpriv->no_device = true;
}
-int ahci_imx_softreset(struct ata_link *link, unsigned int *class,
+static int ahci_imx_softreset(struct ata_link *link, unsigned int *class,
unsigned long deadline)
{
struct ata_port *ap = link->ap;