aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/setup-r8a7779.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2013-06-08 17:24:35 -0400
committerSimon Horman <horms+renesas@verge.net.au>2013-06-11 02:25:37 -0400
commit4c370abbc11311d3753ea9145564ba1997c489fc (patch)
tree5dd94bb12d360d43e49db2b468cbd4f09dcb9c47 /arch/arm/mach-shmobile/setup-r8a7779.c
parent413bfd0e67894c930242482cd15ac09a800e2ab8 (diff)
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. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/setup-r8a7779.c')
-rw-r--r--arch/arm/mach-shmobile/setup-r8a7779.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7779.c b/arch/arm/mach-shmobile/setup-r8a7779.c
index b0b394842ea5..d8a70dcd7223 100644
--- a/arch/arm/mach-shmobile/setup-r8a7779.c
+++ b/arch/arm/mach-shmobile/setup-r8a7779.c
@@ -443,7 +443,7 @@ void __init r8a7779_add_standard_devices(void)
443 443
444void __init r8a7779_add_ether_device(struct sh_eth_plat_data *pdata) 444void __init r8a7779_add_ether_device(struct sh_eth_plat_data *pdata)
445{ 445{
446 platform_device_register_resndata(&platform_bus, "sh_eth", -1, 446 platform_device_register_resndata(&platform_bus, "r8a777x-ether", -1,
447 ether_resources, 447 ether_resources,
448 ARRAY_SIZE(ether_resources), 448 ARRAY_SIZE(ether_resources),
449 pdata, sizeof(*pdata)); 449 pdata, sizeof(*pdata));