]> err.no Git - linux-2.6/commitdiff
[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 035ea5137c71c9ee6c77c7f208ef8cda7c7f5b7c..81037709ba0d4cc2a4f5daefb83c02401cf3e5f6 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 eefe5841fbb2cae942d16f05eee377fca5fab948..57cfe5c6e4a8e71cef2c89e1c34f2a7d749fcc9b 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 = {