diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2013-06-08 17:23:24 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-06-11 02:25:41 -0400 |
commit | c02f846938fe64800240e97cb113a2bff0149c92 (patch) | |
tree | ad2a3f4ebe0270315d190d6d117cdad425bc1613 | |
parent | 4c370abbc11311d3753ea9145564ba1997c489fc (diff) |
ARM: shmobile: r8a7778: fix Ether device name
While recasting commit 524219146a89aee5366326c225ccd71231419d89 (ARM: shmobile:
R8A7778: 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>
-rw-r--r-- | arch/arm/mach-shmobile/setup-r8a7778.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c index f5b2a57a330e..ce44fbb9bad2 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[] = { | |||
96 | 96 | ||
97 | void __init r8a7778_add_ether_device(struct sh_eth_plat_data *pdata) | 97 | void __init r8a7778_add_ether_device(struct sh_eth_plat_data *pdata) |
98 | { | 98 | { |
99 | platform_device_register_resndata(&platform_bus, "sh_eth", -1, | 99 | platform_device_register_resndata(&platform_bus, "r8a777x-ether", -1, |
100 | ether_resources, | 100 | ether_resources, |
101 | ARRAY_SIZE(ether_resources), | 101 | ARRAY_SIZE(ether_resources), |
102 | pdata, sizeof(*pdata)); | 102 | pdata, sizeof(*pdata)); |