diff options
author | Jason <r64343@freescale.com> | 2010-02-03 15:57:52 +0800 |
---|---|---|
committer | Frank Li <Frank.Li@freescale.com> | 2010-03-16 12:36:10 +0800 |
commit | 8219d5f7e0c0af4ce84606a71289d050adfb4c86 (patch) | |
tree | 91478625d9c8237dc6360138c9d767143a67011f /drivers/net | |
parent | 8053c57f80c3c908e5be150b2c1fa948611d2157 (diff) |
ENGR00120715 MX28:Fix FEC MAC not set correclty
FEC MAC not set correclty on MX28 EVK board
Signed-off-by:Jason Liu <r64343@freescale.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/fec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fec.c b/drivers/net/fec.c index 7eb22b32acb5..5b63b8dc26c1 100644 --- a/drivers/net/fec.c +++ b/drivers/net/fec.c @@ -1789,10 +1789,10 @@ static const struct net_device_ops fec_netdev_ops = { }; #ifdef CONFIG_ARCH_MXS -static int fec_set_hw_mac(struct net_device *dev, char *mac_addr) +static int fec_set_hw_mac(struct net_device *dev, unsigned char *mac_addr) { struct fec_enet_private *fep = netdev_priv(dev); - char *addr = mac_addr; + unsigned char *addr = mac_addr; if (!is_valid_ether_addr(addr)) return -EADDRNOTAVAIL; |