On Fri, Apr 05, 2024 at 10:14:09PM +0530, Vinod Koul wrote: > On 04-03-24, 16:35, Thomas Richard wrote: ... > > +static int wiz_resume_noirq(struct device *dev) > > I think this should be annotated with __maybe_unused No... > > + .pm = pm_sleep_ptr(&wiz_pm_ops), ...because of magic of PTR_IF() here. -- With Best Regards, Andy Shevchenko