Re: PWM backlight build warning

From: Tony Prisk
Date: Sat Apr 06 2013 - 18:06:42 EST


On 07/04/13 09:10, Thierry Reding wrote:
On Sat, Apr 06, 2013 at 09:02:51PM +0100, Mark Brown wrote:
On Sun, Apr 07, 2013 at 06:33:35AM +1200, Tony Prisk wrote:

The problem occurs because when CONFIG_PM=y but CONFIG_PM_SLEEP=n:
I guess this would be a problem on every driver that has been
converted to SIMPLE_DEV_PM_OPS.
I don't know enough about the PM code to offer a fix, or whethermy
chosen config is just 'invalid'.
You just need to put the system suspend functions inside an ifdef
CONFIG_PM_SLEEP instead of CONFIG_PM.
I carry a fix for that in my for-next branch.

Thierry
Ahh ok, all is good then.

Regards
Tony P
--
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/