X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fnet%2Fsmc911x.c;h=5d51406f6fab04a150b648dde3ec7a2e0d6bf526;hb=45b6b65c6bf06a589ef3123192af94b0381db27b;hp=c027abe9f7b1661f4556079a9f588ee5c255156a;hpb=fbd47b6753b08162436d9ccad1e63c8d43ede54c;p=u-boot diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index c027abe9f7..5d51406f6f 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);