diff options
author | Dale Farnsworth <dale@farnsworth.org> | 2007-02-09 15:31:43 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-02-10 17:38:44 -0500 |
commit | 761fc19bdbe33ea8b7b88b88c7ca149a57a9e6b6 (patch) | |
tree | 9d2e21b766ae3d90ebb5713ad0ebcc2ff612dced /arch/mips | |
parent | 6a2603a2eaafc5faaae24f7250158a41931f77ee (diff) |
[MIPS] Fix eth2 platform device id for jaguar_atx and ocelot_3 platforms
Signed-off-by: Dale Farnsowrth <dale@farnsworth.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/momentum/jaguar_atx/platform.c | 2 | ||||
-rw-r--r-- | arch/mips/momentum/ocelot_3/platform.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/momentum/jaguar_atx/platform.c b/arch/mips/momentum/jaguar_atx/platform.c index 035ea5137c71..81037709ba0d 100644 --- a/arch/mips/momentum/jaguar_atx/platform.c +++ b/arch/mips/momentum/jaguar_atx/platform.c | |||
@@ -129,7 +129,7 @@ static struct mv643xx_eth_platform_data eth2_pd = { | |||
129 | 129 | ||
130 | static struct platform_device eth2_device = { | 130 | static struct platform_device eth2_device = { |
131 | .name = MV643XX_ETH_NAME, | 131 | .name = MV643XX_ETH_NAME, |
132 | .id = 1, | 132 | .id = 2, |
133 | .num_resources = ARRAY_SIZE(mv64x60_eth2_resources), | 133 | .num_resources = ARRAY_SIZE(mv64x60_eth2_resources), |
134 | .resource = mv64x60_eth2_resources, | 134 | .resource = mv64x60_eth2_resources, |
135 | .dev = { | 135 | .dev = { |
diff --git a/arch/mips/momentum/ocelot_3/platform.c b/arch/mips/momentum/ocelot_3/platform.c index eefe5841fbb2..57cfe5c6e4a8 100644 --- a/arch/mips/momentum/ocelot_3/platform.c +++ b/arch/mips/momentum/ocelot_3/platform.c | |||
@@ -129,7 +129,7 @@ static struct mv643xx_eth_platform_data eth2_pd = { | |||
129 | 129 | ||
130 | static struct platform_device eth2_device = { | 130 | static struct platform_device eth2_device = { |
131 | .name = MV643XX_ETH_NAME, | 131 | .name = MV643XX_ETH_NAME, |
132 | .id = 1, | 132 | .id = 2, |
133 | .num_resources = ARRAY_SIZE(mv64x60_eth2_resources), | 133 | .num_resources = ARRAY_SIZE(mv64x60_eth2_resources), |
134 | .resource = mv64x60_eth2_resources, | 134 | .resource = mv64x60_eth2_resources, |
135 | .dev = { | 135 | .dev = { |