Hi Arnd > mwifiex_platform_driver = { > > .driver = { > > .name = "mwifiex_plt", > > .of_match_table = mwifiex_dt_match, > > +#ifdef CONFIG_PM_SLEEP > > + .pm = &mwifiex_plt_pm_ops, > > +#endif > > } > > }; > > Just remove the #ifdef here, and mark the functions as __maybe_unused. > Sure. I will take care of this. Regards, Amitkumar Karwar -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html