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

From: Thomas Petazzoni
Date: Mon Oct 12 2015 - 09:27:20 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/