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