Arnd Bergmann
9b97123a58
net: phy: mdio-bcm-unimac: mark PM functions as __maybe_unused
...
The newly added runtime-pm support causes a harmless warning
when CONFIG_PM is disabled:
drivers/net/phy/mdio-bcm-unimac.c:330:12: error: 'unimac_mdio_resume' defined but not used [-Werror=unused-function]
static int unimac_mdio_resume(struct device *d)
drivers/net/phy/mdio-bcm-unimac.c:321:12: error: 'unimac_mdio_suspend' defined but not used [-Werror=unused-function]
static int unimac_mdio_suspend(struct device *d)
Marking the functions as __maybe_unused is the easiest workaround
and avoids adding #ifdef checks.
Fixes: b78ac6ecd1 ("net: phy: mdio-bcm-unimac: Allow configuring MDIO clock divider")
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: David S. Miller <davem@davemloft.net >
2018-09-28 10:25:11 -07:00
..
2017-12-01 15:42:21 -05:00
2018-03-01 21:23:34 -05:00
2018-04-19 16:11:10 -04:00
2018-01-08 14:20:21 -05:00
2018-08-07 15:48:38 -07:00
2017-12-01 15:42:21 -05:00
2016-01-07 14:31:27 -05:00
2018-05-23 15:27:01 -04:00
2018-05-26 19:46:15 -04:00
2018-05-23 15:27:01 -04:00
2018-06-05 09:43:09 -04:00
2017-12-01 15:42:21 -05:00
2018-03-01 21:23:35 -05:00
2017-12-01 15:42:21 -05:00
2018-07-03 11:38:07 +09:00
2017-11-02 11:10:55 +01:00
2018-08-11 11:28:34 -07:00
2017-12-01 15:42:21 -05:00
2018-06-10 12:38:03 -07:00
2018-02-14 15:33:43 -05:00
2018-09-16 15:31:01 -07:00
2018-06-24 16:41:58 +09:00
2017-12-01 15:42:21 -05:00
2018-03-23 13:19:49 -04:00
2018-09-12 20:24:20 -07:00
2017-12-01 15:42:21 -05:00
2018-05-15 16:41:15 -04:00
2018-04-04 11:24:54 -04:00
2018-09-25 22:41:31 -07:00
2018-09-17 19:52:44 -07:00
2017-12-27 11:06:50 -05:00
2017-02-09 17:10:23 -05:00
2018-09-28 10:25:11 -07:00
2018-04-19 15:59:10 -04:00
2018-04-20 10:33:26 -04:00
2017-11-02 11:10:55 +01:00
2016-03-16 19:55:37 -04:00
2016-03-14 15:27:22 -04:00
2018-06-12 15:23:55 -07:00
2016-07-16 21:32:58 -07:00
2017-08-06 20:55:28 -07:00
2017-08-06 20:55:28 -07:00
2016-01-07 14:31:26 -05:00
2018-05-16 14:20:36 -04:00
2018-08-02 14:36:49 -07:00
2018-06-26 23:24:07 +09:00
2018-03-07 12:39:59 -05:00
2017-09-05 14:42:52 -07:00
2016-03-14 15:27:22 -04:00
2018-01-08 14:30:28 -05:00
2016-03-14 15:27:22 -04:00
2017-12-18 15:09:42 -05:00
2017-05-16 11:41:08 -04:00
2017-12-18 13:24:56 -05:00
2018-05-21 16:01:54 -04:00
2018-05-10 14:16:36 -04:00
2018-04-21 16:32:48 -04:00
2018-09-28 10:25:11 -07:00
2017-12-01 15:42:21 -05:00
2018-09-25 20:26:45 -07:00
2018-06-12 16:19:22 -07:00
2018-03-04 18:11:54 -05:00
2018-03-04 18:11:54 -05:00
2018-09-21 18:59:29 -07:00
2018-09-19 21:15:01 -07:00
2017-12-01 15:42:21 -05:00
2018-07-18 13:43:38 +09:00
2017-12-01 15:42:21 -05:00
2018-09-18 20:14:19 -07:00
2018-09-04 12:22:41 -07:00
2017-08-06 20:55:29 -07:00
2018-04-27 20:18:55 -04:00
2018-03-26 12:07:49 -04:00
2018-09-12 20:24:20 -07:00
2016-06-27 10:40:57 -04:00
2017-11-02 11:10:55 +01:00
2018-03-01 21:23:34 -05:00
2017-12-01 15:42:21 -05:00
2018-07-04 11:30:02 +09:00
2018-06-28 16:12:06 +09:00