Commit 4c370abb authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Simon Horman

ARM: shmobile: r8a7779: fix Ether device name

While recasting commit dace48d0 (ARM: shmobile:
R8A7779: 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: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 413bfd0e
...@@ -443,7 +443,7 @@ void __init r8a7779_add_standard_devices(void) ...@@ -443,7 +443,7 @@ void __init r8a7779_add_standard_devices(void)
void __init r8a7779_add_ether_device(struct sh_eth_plat_data *pdata) 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, "r8a777x-ether", -1,
ether_resources, ether_resources,
ARRAY_SIZE(ether_resources), ARRAY_SIZE(ether_resources),
pdata, sizeof(*pdata)); pdata, sizeof(*pdata));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment