Arnd Bergmann 4f1dd973ac sata/mvebu: use #ifdef around suspend/resume code
The newly added suspend/resume implementation for ahci_mvebu causes
a link error when CONFIG_PM_SLEEP is disabled:

ERROR: "ahci_platform_suspend_host" [drivers/ata/ahci_mvebu.ko] undefined!
ERROR: "ahci_platform_resume_host" [drivers/ata/ahci_mvebu.ko] undefined!

This adds the same #ifdef here that exists in the ahci_platform driver
which defines the above functions.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: d6ecf1581488 ("ata: ahci_mvebu: add suspend/resume support")
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2015-11-20 14:59:43 -05:00
..
2015-11-13 20:35:54 -08:00
2015-03-27 11:59:22 -04:00
2014-03-11 08:30:53 -04:00
2015-09-10 17:02:04 -04:00
2015-03-02 12:08:43 -05:00
2008-01-23 05:24:15 -05:00
2015-04-16 13:53:32 -05:00
2007-07-02 10:17:42 -04:00