[PATCH 0/5] Provide empty functions if OF_NET is not configured
Guenter Roeck
linux at roeck-us.net
Wed Apr 3 06:35:06 EST 2013
Provide empty functions for of_get_phy_mode() and of_get_mac_address()
if OF_NET is not configured. Modify affected drivers to rely on the
now available functions.
----------------------------------------------------------------
Guenter Roeck (5):
of_net.h: Provide dummy functions if OF_NET is not configured
net/cadence/at91_ether: Simplify OF dependencies
net/cadence/macb: Simplify OF dependencies
net/freescale/fec: Simplify OF dependencies
net/nxp/lpc_eth: Drop ifdef CONFIG_OF_NET
drivers/net/ethernet/cadence/at91_ether.c | 44 ++++-------------------------
drivers/net/ethernet/cadence/macb.c | 43 ++++------------------------
drivers/net/ethernet/freescale/fec.c | 19 +------------
drivers/net/ethernet/nxp/lpc_eth.c | 2 --
include/linux/of_net.h | 10 +++++++
5 files changed, 23 insertions(+), 95 deletions(-)
More information about the devicetree-discuss
mailing list