[MIPS] Fix eth2 platform device id for jaguar_atx and ocelot_3 platforms
authorDale Farnsworth <dale@farnsworth.org>
Fri, 9 Feb 2007 20:31:43 +0000 (13:31 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 10 Feb 2007 22:38:44 +0000 (22:38 +0000)
Signed-off-by: Dale Farnsowrth <dale@farnsworth.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/momentum/jaguar_atx/platform.c
arch/mips/momentum/ocelot_3/platform.c

index 035ea51..8103770 100644 (file)
@@ -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 = {
index eefe584..57cfe5c 100644 (file)
@@ -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 = {