[PATCH] sata/mvebu: use #ifdef around suspend/resume code

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Oct 12 06:27:03 PDT 2015


Arnd,

On Mon, 12 Oct 2015 15:05:27 +0200, Arnd Bergmann wrote:

> +#ifdef CONFIG_PM_SUSPEND

Shouldn't this be CONFIG_PM_SLEEP ?

The generic suspend/resume function in libahci_platform.c are defined
when CONFIG_PM_SLEEP is enabled.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list