diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2013-06-07 15:56:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-08 08:38:23 +0200 |
commit | c18a79abe31f555ec3b363b5b8c1d003230053b6 (patch) | |
tree | 546022b3f0e9e0983309785281a6829f89730fcc /arch/sh | |
parent | sh_eth: get SH771x support out of #ifdef (diff) | |
download | linux-c18a79abe31f555ec3b363b5b8c1d003230053b6.tar.xz linux-c18a79abe31f555ec3b363b5b8c1d003230053b6.zip |
sh_eth: get SH7619 support out of #ifdef
Get the SH7619 data in the driver out of #ifdef by adding "sh7619-ether" to the
platform driver's ID table. Change the Ether platform device's name in the SH
platform code accordingly.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/cpu/sh2/setup-sh7619.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/cpu/sh2/setup-sh7619.c b/arch/sh/kernel/cpu/sh2/setup-sh7619.c index e0b740c831c7..bb11e1925178 100644 --- a/arch/sh/kernel/cpu/sh2/setup-sh7619.c +++ b/arch/sh/kernel/cpu/sh2/setup-sh7619.c @@ -124,8 +124,8 @@ static struct resource eth_resources[] = { }; static struct platform_device eth_device = { - .name = "sh-eth", - .id = -1, + .name = "sh7619-ether", + .id = -1, .dev = { .platform_data = (void *)1, }, |