From: Sergei Shtylyov Date: Tue, 9 Apr 2013 17:48:59 +0000 (+0400) Subject: ARM: shmobile: R8A7779: fix Ether device name X-Git-Tag: next-20130521~8^2~3^4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5c4ceaa2fc7b620389d44f62537a05badd95892d;p=karo-tx-linux.git ARM: shmobile: R8A7779: fix Ether device name 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 Signed-off-by: Simon Horman --- diff --git a/arch/arm/mach-shmobile/setup-r8a7779.c b/arch/arm/mach-shmobile/setup-r8a7779.c index 689ce67920d8..d04278aafb84 100644 --- a/arch/arm/mach-shmobile/setup-r8a7779.c +++ b/arch/arm/mach-shmobile/setup-r8a7779.c @@ -397,7 +397,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));