diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2013-06-07 09:56:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-08 02:38:23 -0400 |
commit | c18a79abe31f555ec3b363b5b8c1d003230053b6 (patch) | |
tree | 546022b3f0e9e0983309785281a6829f89730fcc /arch/sh/kernel | |
parent | 7bbe150d8c57c59689c8c50fd7b9915f4a7e10da (diff) |
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/kernel')
-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[] = { | |||
124 | }; | 124 | }; |
125 | 125 | ||
126 | static struct platform_device eth_device = { | 126 | static struct platform_device eth_device = { |
127 | .name = "sh-eth", | 127 | .name = "sh7619-ether", |
128 | .id = -1, | 128 | .id = -1, |
129 | .dev = { | 129 | .dev = { |
130 | .platform_data = (void *)1, | 130 | .platform_data = (void *)1, |
131 | }, | 131 | }, |