[U-Boot] [PATCH] smc911x: fix typo in smc911x_handle_mac_address name

Mike Rapoport mike at compulab.co.il
Sun Nov 15 07:56:03 CET 2009


Ben,
Any chance this one can be merged as well?

Mike Rapoport wrote:
> Signed-off-by: Mike Rapoport <mike at compulab.co.il>
> ---
>  drivers/net/smc911x.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c
> index c50758e..acc2306 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);

-- 
Sincerely yours,
Mike.



More information about the U-Boot mailing list