Re: [PATCH] PM / Domains: Fix compilation error for devices that don't enable PM_SLEEP

From: Rafael J. Wysocki
Date: Wed Jul 12 2017 - 17:44:29 EST


On Monday, July 10, 2017 04:14:48 PM Franklin S Cooper Jr wrote:
> Set pm_genpd_poweroff_noirq to NULL if CONFIG_PM_SLEEP isn't enabled.
> This is the same approach done for other PM_SLEEP related functions.
>
> Without this patch building the kernel with the keystone_defconfig
> results in a compilation error.
>
> Fixes: 10da65423fdb ("PM / Domains: Call driver's noirq callbacks")
>
> Signed-off-by: Franklin S Cooper Jr <fcooper@xxxxxx>

That should be fixed already in the Linus' tree.

Thanks,
Rafael