Re: [PATCH] drm/exynos: fix building without CONFIG_PM_SLEEP

From: Arnd Bergmann
Date: Tue Jan 26 2016 - 07:57:06 EST


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