RE: [Intel-wired-lan] [PATCH net-next] ice: mark PM functions as __maybe_unused

2020-07-29 Thread Bowers, AndrewX
rin, Akeem G > > Cc: intel-wired-...@lists.osuosl.org; Wei Yongjun > ; netdev@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH net-next] ice: mark PM functions as > __maybe_unused > > In certain configurations without power management support, the following > w

[PATCH net-next] ice: mark PM functions as __maybe_unused

2020-07-27 Thread Wei Yongjun
In certain configurations without power management support, the following warnings happen: drivers/net/ethernet/intel/ice/ice_main.c:4214:12: warning: 'ice_resume' defined but not used [-Wunused-function] 4214 | static int ice_resume(struct device *dev) |^~ drivers/net/