]> git.sur5r.net Git - u-boot/commitdiff
smc911x: fix typo in smc911x_handle_mac_address name
authorMike Rapoport <mike@compulab.co.il>
Wed, 11 Nov 2009 08:03:09 +0000 (10:03 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 7 Dec 2009 21:04:02 +0000 (22:04 +0100)
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
drivers/net/smc911x.c

index c027abe9f7b1661f4556079a9f588ee5c255156a..5d51406f6fab04a150b648dde3ec7a2e0d6bf526 100644 (file)
@@ -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);