summaryrefslogtreecommitdiffstats
path: root/drivers/ata
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 10:46:54 -0400
commit1bf9d885658cbee1bc8e4324d0e27b02b1540d58 (patch)
treec2695e8467da5afaf848294cbf281de97dba2fa1 /drivers/ata
parent5434b203156ef245b7847128c446c5b54f12a6d4 (diff)
downloadop-kernel-dev-1bf9d885658cbee1bc8e4324d0e27b02b1540d58.zip
op-kernel-dev-1bf9d885658cbee1bc8e4324d0e27b02b1540d58.tar.gz
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')
-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 d1bf3f7..0af6cb8 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;
OpenPOWER on IntegriCloud