Guenter Roeck 6c5f7808ef net/freescale/fec: Simplify OF dependencies
Since of_get_mac_address() is now defined even if CONFIG_OF_NET
is not configured, the ifdef around the code calling it is no longer
necessary and can be removed.

Similar, since of_get_phy_mode() is now defined as dummy function
if OF_NET is not configured, it is no longer necessary to provide
an OF dependent function as front-end. Also, the function depends
on OF_NET, not on OF, so the conditional code was not correct anyway.
Drop the front-end function and call of_get_phy_mode() directly.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-04-02 16:43:56 -04:00
..
2012-12-03 11:16:10 -08:00
2013-03-17 12:16:38 -04:00
2013-03-28 01:20:42 -04:00
2013-03-27 12:48:33 -04:00
2012-12-28 15:24:19 -08:00
2013-01-14 15:13:39 -05:00
2013-03-26 12:27:18 -04:00
2013-03-30 17:31:25 -04:00
2013-01-20 15:48:14 -08:00
2013-03-27 00:52:06 -04:00