Alexander Graf 7f32541c2f phy dp83867: Fix compilation with CONFIG_OF_MDIO=m
When CONFIG_OF_MDIO is configured as module, the #define for it really
is CONFIG_OF_MDIO_MODULE, not CONFIG_OF_MDIO. So if we are compiling it
as module, the dp83867 doesn't see that OF_MDIO was selected and doesn't
read the dt rgmii parameters.

The fix is simple: Use IS_ENABLED(). It checks for both - module as well
as compiled in code.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-17 14:31:08 -04:00
..
2016-04-13 15:14:24 -04:00
2016-03-23 17:52:10 +02:00
2016-04-12 12:35:07 -07:00
2016-04-15 15:40:49 -07:00
2016-04-16 22:52:03 +05:30
2016-05-05 08:26:54 -07:00
2016-05-12 15:03:49 -04:00
2016-04-07 22:11:08 +02:00
2016-03-23 17:20:59 -07:00
2016-05-13 09:34:59 -07:00
2016-03-24 19:57:15 -07:00
2016-03-18 10:15:11 -07:00
2016-05-07 10:53:32 -07:00
2016-04-15 15:25:09 -07:00
2016-05-10 12:04:40 -07:00
2016-04-27 08:57:11 -07:00
2016-04-14 16:54:00 +02:00
2016-05-11 13:17:12 -07:00
2016-03-17 13:05:09 -07:00