diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-03-05 20:17:49 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-03-06 20:31:13 +0100 |
commit | 46ce6b74fdec1a8a8e9b45597e6c7989441682bf (patch) | |
tree | be8dd6d26fe4c71dd579004522029d09e93764ee /drivers/ata/libata-eh.c | |
parent | ahci_sunxi: Use msleep instead of mdelay (diff) | |
download | linux-46ce6b74fdec1a8a8e9b45597e6c7989441682bf.tar.xz 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