Thread (2 messages) 2 messages, 2 authors, 2014-03-05

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

From: marex@denx.de (Marek Vasut)
Date: 2014-03-05 19:23:40
Also in: linux-devicetree, linux-ide

On Wednesday, March 05, 2014 at 08:17:49 PM, 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>
Obviously makes sense.

Acked-by: Marek Vasut <marex@denx.de>

Best regards,
Marek Vasut
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help