Skip to contentSkip to conversation

ARM: shmobile: r8a7779: fix Ether device name

PATCH New Sergei Shtylyov 2 participants 2 messages Jun 8, 2013 – Jun 11, 2013

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v2 2/2 ARM: shmobile: r8a7779: fix Ether device name

While recasting commit dace48d04dee46a3409d5e13cd98031522e46377 (ARM: shmobile:
R8A7779: add Ether support), I made a typo in the platform device's name: used underscore instead of hyphen.

However, there's now patch merged to net-next.git renaming the platform device from "sh-eth" to "r8a777x-ehter", so it makes the most sense to change the name straight to that one.

---
The patch is atop of the 'renesas-next-20130607' tag of the 'renesas.git' tree and the USB patches I have submitted earlier.

Changes in version 2:
- changed the platform device's name as in the patch merged to 'net-next.git';
- lowercased the SoC name in the subject.

 arch/arm/mach-shmobile/setup-r8a7779.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-shmobile/setup-r8a7779.c +1 -1
Index: renesas/arch/arm/mach-shmobile/setup-r8a7779.c
===================================================================
@@ -596,7 +596,7 @@ void __init r8a7779_add_standard_devices
 
 void __init r8a7779_add_ether_device(struct sh_eth_plat_data *pdata)
 {
-	platform_device_register_resndata(&platform_bus, "sh_eth", -1,
+	platform_device_register_resndata(&platform_bus, "r8a777x-ether", -1,
 					  ether_resources,
 					  ARRAY_SIZE(ether_resources),
 					  pdata, sizeof(*pdata));
#1 lore raw

PATCH v2 2/2 ARM: shmobile: r8a7779: fix Ether device name

Quoted 14 lines · Sergei Shtylyov

While recasting commit dace48d04dee46a3409d5e13cd98031522e46377 (ARM: shmobile:
R8A7779: add Ether support), I made a typo in the platform device's name: used underscore instead of hyphen.

However, there's now patch merged to net-next.git renaming the platform device from "sh-eth" to "r8a777x-ehter", so it makes the most sense to change the name straight to that one.

---
The patch is atop of the 'renesas-next-20130607' tag of the 'renesas.git' tree and the USB patches I have submitted earlier.

Quoted 6 lines

Changes in version 2:
- changed the platform device's name as in the patch merged to 'net-next.git';
- lowercased the SoC name in the subject.

 arch/arm/mach-shmobile/setup-r8a7779.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, I have queued this up in the soc2 branch.
My current plan is to let that branch sit in next for a few days and then send a pull-request for it to be included in v3.11.