Re: [PATCH] staging: rtl8723bs: define wowlan_stub only when CONFIG_PM is enabled

From: Dan Carpenter
Date: Tue Sep 14 2021 - 04:52:52 EST


On Mon, Sep 13, 2021 at 11:42:55PM +0000, Bryan Brattlof wrote:
> I'll be back with a v2 that rips all of this out.

Or use the __maybe_unused annotation:

static __maybe_unused const struct wiphy_wowlan_support wowlan_stub = {

regards,
dan carpenter