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

2013-04-02 Thread David Miller
From: Guenter Roeck 
Date: Tue,  2 Apr 2013 12:35:06 -0700

> 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.

All applied, but please post your patches against the appropriate
tree.

In net-next, fec.c has been renamed to fec_main.c so I had to adjust
your patch so that it would apply correctly.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2013-04-02 Thread Guenter Roeck
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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2013-04-02 Thread Guenter Roeck
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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2013-04-02 Thread David Miller
From: Guenter Roeck li...@roeck-us.net
Date: Tue,  2 Apr 2013 12:35:06 -0700

 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.

All applied, but please post your patches against the appropriate
tree.

In net-next, fec.c has been renamed to fec_main.c so I had to adjust
your patch so that it would apply correctly.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/