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

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

[PATCH net-next 2/2] pcnet32: 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/pcnet32.c:2928:12: warning: 'pcnet32_pm_resume' defined but not used [-Wunused-function] 2928 | static int pcnet32_pm_resume(struct device *device_d) |