Re: [PATCH 1/2] mv643xx_eth: move mac_addr inside mv643xx_eth_platform_data

From: Jeff Garzik
Date: Fri Mar 02 2007 - 20:17:45 EST


Dale Farnsworth wrote:
The information contained within platform_data should be self-contained.
Replace the pointer to a MAC address with the actual MAC address in
struct mv643xx_eth_platform_data.

Signed-off-by: Dale Farnsworth <dale@xxxxxxxxxxxxxx>

---

Replaced explicit mac address comparison with a call to is_valid_ether_addr(),
as suggested by Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx>.

arch/mips/momentum/jaguar_atx/platform.c | 20 ++++----------------
arch/mips/momentum/ocelot_3/platform.c | 20 ++++----------------
arch/mips/momentum/ocelot_c/platform.c | 12 ++----------
drivers/net/mv643xx_eth.c | 2 +-
include/linux/mv643xx.h | 2 +-
5 files changed, 12 insertions(+), 44 deletions(-)

applied


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