From faefc34443ca3a04a22dadf0436771d498666eb3 Mon Sep 17 00:00:00 2001 From: Sergei Shtylyov Date: Tue, 9 Apr 2013 21:47:51 +0400 Subject: [PATCH] ARM: shmobile: R8A7778: fix Ether device name 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 Signed-off-by: Simon Horman --- arch/arm/mach-shmobile/setup-r8a7778.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c index d6ee5211b452..45f0e4579423 100644 --- a/arch/arm/mach-shmobile/setup-r8a7778.c +++ b/arch/arm/mach-shmobile/setup-r8a7778.c @@ -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)); -- 2.39.5