diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-07-24 10:33:09 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-07-24 10:33:09 -0400 |
commit | 94c58b7f237d33e6afcc8998e98364a7b9e4e289 (patch) | |
tree | 9f838a0e555b3f25bbd0c7750f2821659a3a57ad /arch/mips/bcm63xx | |
parent | 76ca4e1484f2ada3e455eafdcc89e3cba089a37a (diff) |
MIPS: BCM63XX: Fix platform_devices id
There is only one watchdog and VoIP DSP platform devices per board, use
-1 as the platform_device id accordingly.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3313/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/bcm63xx')
-rw-r--r-- | arch/mips/bcm63xx/dev-dsp.c | 2 | ||||
-rw-r--r-- | arch/mips/bcm63xx/dev-wdt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/bcm63xx/dev-dsp.c b/arch/mips/bcm63xx/dev-dsp.c index da46d1d3c77c..5bb5b154c9bd 100644 --- a/arch/mips/bcm63xx/dev-dsp.c +++ b/arch/mips/bcm63xx/dev-dsp.c | |||
@@ -31,7 +31,7 @@ static struct resource voip_dsp_resources[] = { | |||
31 | 31 | ||
32 | static struct platform_device bcm63xx_voip_dsp_device = { | 32 | static struct platform_device bcm63xx_voip_dsp_device = { |
33 | .name = "bcm63xx-voip-dsp", | 33 | .name = "bcm63xx-voip-dsp", |
34 | .id = 0, | 34 | .id = -1, |
35 | .num_resources = ARRAY_SIZE(voip_dsp_resources), | 35 | .num_resources = ARRAY_SIZE(voip_dsp_resources), |
36 | .resource = voip_dsp_resources, | 36 | .resource = voip_dsp_resources, |
37 | }; | 37 | }; |
diff --git a/arch/mips/bcm63xx/dev-wdt.c b/arch/mips/bcm63xx/dev-wdt.c index 3e6c716a4c11..2a2346a99bcb 100644 --- a/arch/mips/bcm63xx/dev-wdt.c +++ b/arch/mips/bcm63xx/dev-wdt.c | |||
@@ -21,7 +21,7 @@ static struct resource wdt_resources[] = { | |||
21 | 21 | ||
22 | static struct platform_device bcm63xx_wdt_device = { | 22 | static struct platform_device bcm63xx_wdt_device = { |
23 | .name = "bcm63xx-wdt", | 23 | .name = "bcm63xx-wdt", |
24 | .id = 0, | 24 | .id = -1, |
25 | .num_resources = ARRAY_SIZE(wdt_resources), | 25 | .num_resources = ARRAY_SIZE(wdt_resources), |
26 | .resource = wdt_resources, | 26 | .resource = wdt_resources, |
27 | }; | 27 | }; |