Commit 761fc19b authored by Dale Farnsworth's avatar Dale Farnsworth Committed by Ralf Baechle

[MIPS] Fix eth2 platform device id for jaguar_atx and ocelot_3 platforms

Signed-off-by: default avatarDale Farnsowrth <dale@farnsworth.org>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 6a2603a2
...@@ -129,7 +129,7 @@ static struct mv643xx_eth_platform_data eth2_pd = { ...@@ -129,7 +129,7 @@ static struct mv643xx_eth_platform_data eth2_pd = {
static struct platform_device eth2_device = { static struct platform_device eth2_device = {
.name = MV643XX_ETH_NAME, .name = MV643XX_ETH_NAME,
.id = 1, .id = 2,
.num_resources = ARRAY_SIZE(mv64x60_eth2_resources), .num_resources = ARRAY_SIZE(mv64x60_eth2_resources),
.resource = mv64x60_eth2_resources, .resource = mv64x60_eth2_resources,
.dev = { .dev = {
......
...@@ -129,7 +129,7 @@ static struct mv643xx_eth_platform_data eth2_pd = { ...@@ -129,7 +129,7 @@ static struct mv643xx_eth_platform_data eth2_pd = {
static struct platform_device eth2_device = { static struct platform_device eth2_device = {
.name = MV643XX_ETH_NAME, .name = MV643XX_ETH_NAME,
.id = 1, .id = 2,
.num_resources = ARRAY_SIZE(mv64x60_eth2_resources), .num_resources = ARRAY_SIZE(mv64x60_eth2_resources),
.resource = mv64x60_eth2_resources, .resource = mv64x60_eth2_resources,
.dev = { .dev = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment