Re: [PATCH] drivers/pcmcia: Fix ifdef covering yenta_pm_ops

From: Linus Torvalds
Date: Tue Jan 11 2022 - 17:50:49 EST


On Tue, Jan 11, 2022 at 1:54 PM Paul E. McKenney <paulmck@xxxxxxxxxx> wrote:
>
> Currently, yenta_dev_suspend_noirq(), yenta_dev_resume_noirq(),
> and yenta_pm_ops are covered by "#ifdef CONFIG_PM", which results in
> compiler warnings in kernels built with CONFIG_PM_SLEEP=n and CONFIG_PM=y:

Hmm. Wasn't the pcmcia tree in -next? Or how did this get missed?

Anyway, applied directly. Thanks,

Linus