summaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm63xx/dev-wdt.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-07-24 16:33:09 +0200
committerRalf Baechle <ralf@linux-mips.org>2012-07-24 16:33:09 +0200
commit94c58b7f237d33e6afcc8998e98364a7b9e4e289 (patch)
tree9f838a0e555b3f25bbd0c7750f2821659a3a57ad /arch/mips/bcm63xx/dev-wdt.c
parentMIPS: BCM63xx: Make board setup code register the spi platform device (diff)
downloadlinux-94c58b7f237d33e6afcc8998e98364a7b9e4e289.tar.xz
linux-94c58b7f237d33e6afcc8998e98364a7b9e4e289.zip
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/dev-wdt.c')
-rw-r--r--arch/mips/bcm63xx/dev-wdt.c2
1 files changed, 1 insertions, 1 deletions
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[] = {
static struct platform_device bcm63xx_wdt_device = {
.name = "bcm63xx-wdt",
- .id = 0,
+ .id = -1,
.num_resources = ARRAY_SIZE(wdt_resources),
.resource = wdt_resources,
};