[PATCH] ahci_imx: Put #ifdef CONFIG_PM_SLEEP around suspend / resume functions
Tejun Heo
tj at kernel.org
Thu Mar 6 14:31:54 EST 2014
On Wed, Mar 05, 2014 at 08:17:49PM +0100, Hans de Goede wrote:
> 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 at samsung.com>
> Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
Applied to libata/for-3.15.
Thanks.
--
tejun
More information about the linux-arm-kernel
mailing list