summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci_sunxi.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2014-03-17 14:06:57 +0100
committerTejun Heo <tj@kernel.org>2014-03-17 15:46:54 +0100
commit1bf9d885658cbee1bc8e4324d0e27b02b1540d58 (patch)
treec2695e8467da5afaf848294cbf281de97dba2fa1 /drivers/ata/ahci_sunxi.c
parentata: ahci_platform: fix devm_ioremap_resource() return value checking (diff)
downloadlinux-1bf9d885658cbee1bc8e4324d0e27b02b1540d58.tar.xz
linux-1bf9d885658cbee1bc8e4324d0e27b02b1540d58.zip
ata: ahci_sunxi: make ahci_sunxi_resume() static
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/ata/ahci_sunxi.c')
-rw-r--r--drivers/ata/ahci_sunxi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci_sunxi.c b/drivers/ata/ahci_sunxi.c
index d1bf3f786b02..0af6cb83b23e 100644
--- a/drivers/ata/ahci_sunxi.c
+++ b/drivers/ata/ahci_sunxi.c
@@ -197,7 +197,7 @@ disable_resources:
}
#ifdef CONFIG_PM_SLEEP
-int ahci_sunxi_resume(struct device *dev)
+static int ahci_sunxi_resume(struct device *dev)
{
struct ata_host *host = dev_get_drvdata(dev);
struct ahci_host_priv *hpriv = host->private_data;