diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2013-06-07 09:55:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-08 02:38:23 -0400 |
commit | 7bbe150d8c57c59689c8c50fd7b9915f4a7e10da (patch) | |
tree | 16d093fd26745564c9113a14a8830f96f1c8432a /arch/sh/boards | |
parent | afe391ad4b05f8f00ca955e165f3b37b480506b7 (diff) |
sh_eth: get SH771x support out of #ifdef
Get the SH771[02] data in the driver out of #ifdef by adding "sh771x-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/boards')
-rw-r--r-- | arch/sh/boards/mach-se/770x/setup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/boards/mach-se/770x/setup.c b/arch/sh/boards/mach-se/770x/setup.c index 9759d6ba7ffb..658326f44df8 100644 --- a/arch/sh/boards/mach-se/770x/setup.c +++ b/arch/sh/boards/mach-se/770x/setup.c | |||
@@ -128,8 +128,8 @@ static struct resource sh_eth0_resources[] = { | |||
128 | }; | 128 | }; |
129 | 129 | ||
130 | static struct platform_device sh_eth0_device = { | 130 | static struct platform_device sh_eth0_device = { |
131 | .name = "sh-eth", | 131 | .name = "sh771x-ether", |
132 | .id = 0, | 132 | .id = 0, |
133 | .dev = { | 133 | .dev = { |
134 | .platform_data = PHY_ID, | 134 | .platform_data = PHY_ID, |
135 | }, | 135 | }, |
@@ -151,8 +151,8 @@ static struct resource sh_eth1_resources[] = { | |||
151 | }; | 151 | }; |
152 | 152 | ||
153 | static struct platform_device sh_eth1_device = { | 153 | static struct platform_device sh_eth1_device = { |
154 | .name = "sh-eth", | 154 | .name = "sh771x-ether", |
155 | .id = 1, | 155 | .id = 1, |
156 | .dev = { | 156 | .dev = { |
157 | .platform_data = PHY_ID, | 157 | .platform_data = PHY_ID, |
158 | }, | 158 | }, |