[PATCH 0/2] SH: fix typos in Ether platform data

STALE4778d

4 messages, 2 authors, 2013-08-22 · open the first message on its own page

[PATCH 0/2] SH: fix typos in Ether platform data

From: Sergei Shtylyov <hidden>
Date: 2013-08-21 22:15:11

Hello.

   Shamefully, I have fat fingered in both patches fixing Ether support on SH
platforms and I didn't bother to compile test them at least with the ARM
compiler I have at hand (although one of the files turned out to not really be
compilable by it). Here's 2 patches fixing the typos, they are against David
Miller's 'net-next.git'.

[1/2] SH7619: fix typo in Ether platform data
[2/2] SolutionEngine7724: fix typo in Ether platform data

WBR, Sergei

[PATCH 1/2] SH7619: fix typo in Ether platform data

From: Sergei Shtylyov <hidden>
Date: 2013-08-21 22:17:20

Commit 06a64f91da72cb5827e2bedef2ead60a123fd66e (SH7619: fix Ether support)  has
a typo in the 'phy_interface' field name of the platform data which causes build
error -- fix it. 

Signed-off-by: Sergei Shtylyov <redacted>

---
 arch/sh/kernel/cpu/sh2/setup-sh7619.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: net-next/arch/sh/kernel/cpu/sh2/setup-sh7619.c
===================================================================
--- net-next.orig/arch/sh/kernel/cpu/sh2/setup-sh7619.c
+++ net-next/arch/sh/kernel/cpu/sh2/setup-sh7619.c
@@ -114,7 +114,7 @@ static struct platform_device scif2_devi
 static struct sh_eth_plat_data eth_platform_data = {
 	.phy		= 1,
 	.edmac_endian	= EDMAC_LITTLE_ENDIAN,
-	.phy_interace	= PHY_INTERFACE_MODE_MII,
+	.phy_interface	= PHY_INTERFACE_MODE_MII,
 };
 
 static struct resource eth_resources[] = {

[PATCH 2/2] SolutionEngine7724: fix typo in Ether platform data

From: Sergei Shtylyov <hidden>
Date: 2013-08-21 22:18:30

Commit bd61224b1cbec096694e89c4187119c8576fe186 (SolutionEngine7724: fix Ether
support) has a typo in the 'phy_interface' field name of the platform data which
causes build error -- fix it. 

Signed-off-by: Sergei Shtylyov <redacted>

---
 arch/sh/boards/mach-se/7724/setup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: net-next/arch/sh/boards/mach-se/7724/setup.c
===================================================================
--- net-next.orig/arch/sh/boards/mach-se/7724/setup.c
+++ net-next/arch/sh/boards/mach-se/7724/setup.c
@@ -377,7 +377,7 @@ static struct resource sh_eth_resources[
 static struct sh_eth_plat_data sh_eth_plat = {
 	.phy = 0x1f, /* SMSC LAN8187 */
 	.edmac_endian = EDMAC_LITTLE_ENDIAN,
-	.phy_interace = PHY_INTERFACE_MODE_MII,
+	.phy_interface = PHY_INTERFACE_MODE_MII,
 };
 
 static struct platform_device sh_eth_device = {

Re: [PATCH 0/2] SH: fix typos in Ether platform data

From: David Miller <davem@davemloft.net>
Date: 2013-08-22 21:32:38

From: Sergei Shtylyov <redacted>
Date: Thu, 22 Aug 2013 02:15:16 +0400
   Shamefully, I have fat fingered in both patches fixing Ether support on SH
platforms and I didn't bother to compile test them at least with the ARM
compiler I have at hand (although one of the files turned out to not really be
compilable by it). Here's 2 patches fixing the typos, they are against David
Miller's 'net-next.git'.
Applied, thanks Sergei.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help