]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: shmobile: r8A7779: fix Ether device name
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tue, 9 Apr 2013 17:48:59 +0000 (21:48 +0400)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 22 May 2013 13:17:33 +0000 (22:17 +0900)
While recasting the commit "ARM: shmobile: R8A7779: add Ether support", I made a
typo in the platform device's name: used underscore instead of hyphen.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7779.c

index b0b394842ea5011b31b678a8b53b012cea2580ba..c14a69bce096dbabaad326f6dc3a0b8044fe30d6 100644 (file)
@@ -443,7 +443,7 @@ void __init r8a7779_add_standard_devices(void)
 
 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, "sh-eth", -1,
                                          ether_resources,
                                          ARRAY_SIZE(ether_resources),
                                          pdata, sizeof(*pdata));