summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2009-11-11 10:03:09 +0200
committerWolfgang Denk <wd@denx.de>2009-12-07 22:04:02 +0100
commit45b6b65c6bf06a589ef3123192af94b0381db27b (patch)
tree9c40218466a2bf1a09a24427551b7e51150c7c1e /drivers
parentf64ef9bb995687e24e0b61b52316f4eaa97c3bbc (diff)
downloadu-boot-imx-45b6b65c6bf06a589ef3123192af94b0381db27b.zip
u-boot-imx-45b6b65c6bf06a589ef3123192af94b0381db27b.tar.gz
u-boot-imx-45b6b65c6bf06a589ef3123192af94b0381db27b.tar.bz2
smc911x: fix typo in smc911x_handle_mac_address name
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/smc911x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c
index c027abe..5d51406 100644
--- a/drivers/net/smc911x.c
+++ b/drivers/net/smc911x.c
@@ -37,7 +37,7 @@ void pkt_data_push(struct eth_device *dev, u32 addr, u32 val) \
#define mdelay(n) udelay((n)*1000)
-static void smx911x_handle_mac_address(struct eth_device *dev)
+static void smc911x_handle_mac_address(struct eth_device *dev)
{
unsigned long addrh, addrl;
uchar *m = dev->enetaddr;
@@ -155,7 +155,7 @@ static int smc911x_init(struct eth_device *dev, bd_t * bd)
/* Configure the PHY, initialize the link state */
smc911x_phy_configure(dev);
- smx911x_handle_mac_address(dev);
+ smc911x_handle_mac_address(dev);
/* Turn on Tx + Rx */
smc911x_enable(dev);