summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorDale Farnsworth <dale@farnsworth.org>2007-02-09 13:31:43 -0700
committerRalf Baechle <ralf@linux-mips.org>2007-02-10 22:38:44 +0000
commit761fc19bdbe33ea8b7b88b88c7ca149a57a9e6b6 (patch)
tree9d2e21b766ae3d90ebb5713ad0ebcc2ff612dced /arch/mips
parent6a2603a2eaafc5faaae24f7250158a41931f77ee (diff)
downloadop-kernel-dev-761fc19bdbe33ea8b7b88b88c7ca149a57a9e6b6.zip
op-kernel-dev-761fc19bdbe33ea8b7b88b88c7ca149a57a9e6b6.tar.gz
[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.c2
-rw-r--r--arch/mips/momentum/ocelot_3/platform.c2
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 035ea51..8103770 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 = {
static struct platform_device eth2_device = {
.name = MV643XX_ETH_NAME,
- .id = 1,
+ .id = 2,
.num_resources = ARRAY_SIZE(mv64x60_eth2_resources),
.resource = mv64x60_eth2_resources,
.dev = {
diff --git a/arch/mips/momentum/ocelot_3/platform.c b/arch/mips/momentum/ocelot_3/platform.c
index eefe584..57cfe5c 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 = {
static struct platform_device eth2_device = {
.name = MV643XX_ETH_NAME,
- .id = 1,
+ .id = 2,
.num_resources = ARRAY_SIZE(mv64x60_eth2_resources),
.resource = mv64x60_eth2_resources,
.dev = {
OpenPOWER on IntegriCloud