1 From cbcfe65e357666106c3c6250baf9c5ce33f3e3e3 Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <florian@openwrt.org>
3 Date: Wed, 25 Jan 2012 17:39:53 +0100
4 Subject: [PATCH 03/63] MIPS: BCM63XX: fix platform_devices id
6 There is only one watchdog and VoIP DSP platform devices per board, use
7 -1 as the platform_device id accordingly.
9 Signed-off-by: Florian Fainelli <florian@openwrt.org>
11 arch/mips/bcm63xx/dev-dsp.c | 2 +-
12 arch/mips/bcm63xx/dev-wdt.c | 2 +-
13 2 files changed, 2 insertions(+), 2 deletions(-)
15 --- a/arch/mips/bcm63xx/dev-dsp.c
16 +++ b/arch/mips/bcm63xx/dev-dsp.c
17 @@ -31,7 +31,7 @@ static struct resource voip_dsp_resource
19 static struct platform_device bcm63xx_voip_dsp_device = {
20 .name = "bcm63xx-voip-dsp",
23 .num_resources = ARRAY_SIZE(voip_dsp_resources),
24 .resource = voip_dsp_resources,
26 --- a/arch/mips/bcm63xx/dev-wdt.c
27 +++ b/arch/mips/bcm63xx/dev-wdt.c
28 @@ -21,7 +21,7 @@ static struct resource wdt_resources[] =
30 static struct platform_device bcm63xx_wdt_device = {
31 .name = "bcm63xx-wdt",
34 .num_resources = ARRAY_SIZE(wdt_resources),
35 .resource = wdt_resources,