[PATCH 0/5] Provide empty functions if OF_NET is not configured

From: Guenter Roeck
Date: Tue Apr 02 2013 - 15:35:23 EST


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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/