summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-eh.c
diff options
context:
space:
mode:
authorHans de Goede2014-03-05 20:17:49 +0100
committerTejun Heo2014-03-06 20:31:13 +0100
commit46ce6b74fdec1a8a8e9b45597e6c7989441682bf (patch)
treebe8dd6d26fe4c71dd579004522029d09e93764ee /drivers/ata/libata-eh.c
parentahci_sunxi: Use msleep instead of mdelay (diff)
downloadkernel-qcow2-linux-46ce6b74fdec1a8a8e9b45597e6c7989441682bf.tar.gz
kernel-qcow2-linux-46ce6b74fdec1a8a8e9b45597e6c7989441682bf.tar.xz
kernel-qcow2-linux-46ce6b74fdec1a8a8e9b45597e6c7989441682bf.zip
ahci_imx: Put #ifdef CONFIG_PM_SLEEP around suspend / resume functions
This fixes the following warnings when CONFIG_PM_SLEEP is not set: drivers/ata/ahci_imx.c:284:12: warning: ‘imx_ahci_suspend’ defined but not used [-Wunused-function] drivers/ata/ahci_imx.c:299:12: warning: ‘imx_ahci_resume’ defined but not used [-Wunused-function] Reported-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/libata-eh.c')
0 files changed, 0 insertions, 0 deletions