Arnd Bergmann
81a8b07996
net: stmmac: mark PM functions as __maybe_unused
...
The newly added suspend/resume functions cause a build warning
when CONFIG_PM is disabled:
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c:324:12: error: 'stmmac_pci_resume' defined but not used [-Werror=unused-function]
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c:306:12: error: 'stmmac_pci_suspend' defined but not used [-Werror=unused-function]
Mark them as __maybe_unused so gcc can drop them silently.
Fixes: b7d0f08e91
("net: stmmac: Fix WoL for PCI-based setups")
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: David S. Miller <davem@davemloft.net >
2018-08-13 20:45:49 -07:00
..
2017-10-18 12:39:37 +01:00
2016-07-10 22:07:50 -07:00
2018-04-16 18:50:03 -04:00
2018-08-09 11:16:28 -07:00
2017-02-08 15:11:23 -05:00
2017-02-08 15:11:23 -05:00
2018-06-04 10:13:16 -04:00
2018-05-18 11:00:16 -04:00
2016-11-15 19:56:17 -05:00
2018-07-03 10:29:26 +09:00
2018-06-28 22:24:25 +09:00
2017-03-15 14:44:32 -07:00
2018-06-04 10:13:16 -04:00
2018-06-04 10:13:16 -04:00
2018-06-04 10:13:16 -04:00
2018-04-23 12:03:50 -04:00
2018-05-18 11:00:15 -04:00
2017-02-08 15:11:23 -05:00
2018-04-23 12:03:50 -04:00
2018-05-18 11:00:15 -04:00
2018-04-23 12:03:50 -04:00
2017-07-24 16:19:10 -07:00
2017-10-13 10:19:52 -07:00
2017-08-06 21:31:32 -07:00
2017-10-27 23:23:19 +09:00
2018-08-09 11:16:28 -07:00
2017-10-08 21:19:07 -07:00
2016-12-02 10:42:47 -05:00
2018-06-12 15:36:14 -07:00
2016-12-02 10:42:47 -05:00
2017-01-03 09:33:00 -05:00
2018-06-29 22:19:05 +09:00
2018-06-20 14:34:26 +09:00
2016-12-03 12:29:53 -05:00
2018-05-28 23:08:29 -04:00
2018-07-16 13:42:21 -07:00
2016-12-02 10:42:47 -05:00
2018-08-09 11:16:28 -07:00
2018-08-09 11:16:28 -07:00
2018-08-09 11:16:28 -07:00
2018-08-09 11:16:28 -07:00
2018-05-18 11:00:16 -04:00
2018-08-09 11:16:28 -07:00
2018-08-09 11:16:28 -07:00
2018-06-20 14:34:26 +09:00
2018-08-09 11:16:28 -07:00
2017-02-08 15:11:23 -05:00
2017-02-08 15:11:23 -05:00
2018-05-18 11:00:16 -04:00
2018-04-16 18:50:03 -04:00
2018-05-28 22:54:15 -04:00
2018-04-16 18:49:55 -04:00
2018-08-09 11:16:28 -07:00
2018-08-09 11:16:28 -07:00
2018-08-13 20:45:49 -07:00
2016-06-28 08:54:23 -04:00
2018-08-09 11:16:28 -07:00
2016-12-02 10:42:47 -05:00
2018-08-09 11:16:28 -07:00
2018-08-09 11:16:28 -07:00
2018-07-07 21:16:53 +09:00
2018-06-15 09:38:52 -07:00