Thread (1 message) 1 message, 1 author, 2014-03-06

[PATCH] ahci_imx: Put #ifdef CONFIG_PM_SLEEP around suspend / resume functions

From: tj@kernel.org (Tejun Heo)
Date: 2014-03-06 19:31:54
Also in: linux-devicetree, linux-ide

Possibly related (same subject, not in this thread)

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 <redacted>
Cc: Bartlomiej Zolnierkiewicz <redacted>
Signed-off-by: Hans de Goede <redacted>
Applied to libata/for-3.15.

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help