Skip to contentSkip to conversation

smc911x: fix typo in smc911x_handle_mac_address name

PATCH New Mike Rapoport 3 participants 4 messages Nov 11, 2009 – Dec 7, 2009 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 smc911x: fix typo in smc911x_handle_mac_address name

---
 drivers/net/smc911x.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/smc911x.c +2 -2
index c50758e..acc2306 100644
@@ -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);
Signature · 1 line
1.6.0.6
#1 lore raw

PATCH 1/1 smc911x: fix typo in smc911x_handle_mac_address name

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

Quoted 27 lines · Mike Rapoport
---
 drivers/net/smc911x.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/smc911x.c +2 -2
index c50758e..acc2306 100644
@@ -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);
Signature · 2 lines
Sincerely yours,
Mike.
#2 lore raw

PATCH 1/1 smc911x: fix typo in smc911x_handle_mac_address name

Hi Mike,

Quoted 28 lines · Mike Rapoport

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

drivers/net/smc911x.c void pkt_data_push(struct eth_device *dev, u32 addr,

Quoted 10 lines · Mike Rapoport
---
 drivers/net/smc911x.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/smc911x.c +0 -0
index c50758e..acc2306 100644
@@ -37,7 +37,7 @@ void pkt_data_push(struct eth_device *dev, u32 addr,

u32 val) \

drivers/net/smc911x.c static int smc911x_init(struct eth_device *dev, bd_t

Quoted 9 lines
drivers/net/smc911x.c +1 -1
 #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)

Quoted 3 lines
drivers/net/smc911x.c +0 -0
      /* Configure the PHY, initialize the link state */
      smc911x_phy_configure(dev);
 
Quoted 7 lines

drivers/net/smc911x.c static int smc911x_init(struct eth_device *dev, bd_t * bd) · line 161

Quoted 5 lines
drivers/net/smc911x.c +1 -1
-     smx911x_handle_mac_address(dev);
+     smc911x_handle_mac_address(dev);
 
      /* Turn on Tx + Rx */
      smc911x_enable(dev);

Sure, but since it's not fixing something broken (unless I'm missing

something), it will wait until the next release. I'll pull it into 'next' soon.

Quoted 5 lines

--
Sincerely yours,
Mike.

regards,

Ben

#3 lore raw

PATCH 1/1 smc911x: fix typo in smc911x_handle_mac_address name

In reply to Mike Rapoport

Dear Mike Rapoport,

Quoted 4 lines · In message <[email protected]> you wrote:
---
 drivers/net/smc911x.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

Ben, this looked so obvious, too. Hope it is OK with you.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Always borrow money from a pessimist; they don't expect  to  be  paid
back.