smc911x: fix typo in smc911x_handle_mac_address name
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
This commit is contained in:
parent
f64ef9bb99
commit
45b6b65c6b
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ void pkt_data_push(struct eth_device *dev, u32 addr, u32 val) \
|
||||||
|
|
||||||
#define mdelay(n) udelay((n)*1000)
|
#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;
|
unsigned long addrh, addrl;
|
||||||
uchar *m = dev->enetaddr;
|
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 */
|
/* Configure the PHY, initialize the link state */
|
||||||
smc911x_phy_configure(dev);
|
smc911x_phy_configure(dev);
|
||||||
|
|
||||||
smx911x_handle_mac_address(dev);
|
smc911x_handle_mac_address(dev);
|
||||||
|
|
||||||
/* Turn on Tx + Rx */
|
/* Turn on Tx + Rx */
|
||||||
smc911x_enable(dev);
|
smc911x_enable(dev);
|
||||||
|
|
Loading…
Reference in a new issue