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

Rafael J. Wysocki rjw at rjwysocki.net
Wed Jul 12 14:36:34 PDT 2017


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 at ti.com>

That should be fixed already in the Linus' tree.

Thanks,
Rafael




More information about the linux-arm-kernel mailing list