ahci: imx: ahci_imx_softreset() can be static
authorFengguang Wu <fengguang.wu@intel.com>
Tue, 3 Dec 2013 15:25:37 +0000 (10:25 -0500)
committerTejun Heo <tj@kernel.org>
Tue, 3 Dec 2013 15:25:37 +0000 (10:25 -0500)
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_imx.c

index 8cb89655cf0664ab9c67b501f9bcfed235d8a930..2daa28891b7f466864ae8874a83f764d9e29675c 100644 (file)
@@ -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;