summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2013-12-03 10:25:37 -0500
committerTejun Heo <tj@kernel.org>2013-12-03 10:25:37 -0500
commitee4e5a9abf470908bb04feadec236c51e19fc413 (patch)
treec682c06358132746c2df54785ca18909cacadf93 /drivers/ata
parent4a23d1793f8e268e5867eec6c20abe78ec28ba5f (diff)
downloadop-kernel-dev-ee4e5a9abf470908bb04feadec236c51e19fc413.zip
op-kernel-dev-ee4e5a9abf470908bb04feadec236c51e19fc413.tar.gz
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')
-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 8cb8965..2daa288 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;
OpenPOWER on IntegriCloud