Re: [PATCH net-next 1/2] amd8111e: Mark PM functions as __maybe_unused

2020-06-30 Thread David Miller
From: Nathan Chancellor Date: Tue, 30 Jun 2020 14:00:33 -0700 > In certain configurations without power management support, the > following warnings happen: > > ../drivers/net/ethernet/amd/amd8111e.c:1623:12: warning: > 'amd8111e_resume' defined but not used [-Wunused-function] > 1623 | static

[PATCH net-next 1/2] amd8111e: Mark PM functions as __maybe_unused

2020-06-30 Thread Nathan Chancellor
In certain configurations without power management support, the following warnings happen: ../drivers/net/ethernet/amd/amd8111e.c:1623:12: warning: 'amd8111e_resume' defined but not used [-Wunused-function] 1623 | static int amd8111e_resume(struct device *dev_d) |^~~