]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: shmobile: R8A7778: fix Ether device name
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tue, 9 Apr 2013 17:47:51 +0000 (21:47 +0400)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 22 May 2013 12:45:52 +0000 (21:45 +0900)
While recasting the commit "ARM: shmobile: R8A7778: 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-r8a7778.c

index d6ee5211b452075ac281199031d2510141b18367..45f0e45794236e26e417a99cae3576027e042ea2 100644 (file)
@@ -96,7 +96,7 @@ static struct resource ether_resources[] = {
 
 void __init r8a7778_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));