From: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Date: Thu, 2 Jul 2020 17:18:10 +0800 > In certain configurations without power management support, gcc report > the following warning: > > drivers/net/ethernet/micrel/ksz884x.c:7182:12: warning: > 'pcidev_suspend' defined but not used [-Wunused-function] > 7182 | static int pcidev_suspend(struct device *dev_d) > | ^~~~~~~~~~~~~~ > > Mark pcidev_suspend() as __maybe_unused to make it clear. > > Fixes: 64120615d140 ("ksz884x: use generic power management") > Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Applied.