[PATCH] drm/exynos: fix building without CONFIG_PM_SLEEP

Arnd Bergmann arnd at arndb.de
Tue Jan 26 04:56:22 PST 2016


On Tuesday 26 January 2016 15:21:41 Inki Dae wrote:
> > -#ifdef CONFIG_PM_SLEEP
> 
> How about just changing it to CONFIG_PM for consistency of other kms drivers?
> Actually, I had modified it to PM since original auther, Gustavo Padovan, posted runtime pm support.
> However, it seems missing this one.

Everybody gets the #ifdef's wrong, so the __maybe_unused approach is
being used increasingly all over the kernel.

	Arnd



More information about the linux-arm-kernel mailing list