cns3xxx: remove the watchdog IRQ from the resources, it breaks the driver init and is useful only for testing

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36241
This commit is contained in:
Felix Fietkau 2013-04-07 11:24:30 +00:00
parent c270db592a
commit fde143b66f
2 changed files with 1 additions and 6 deletions

View File

@ -567,11 +567,6 @@ static struct resource laguna_watchdog_resources[] = {
.end = CNS3XXX_TC11MP_TWD_BASE + SZ_4K - 1, .end = CNS3XXX_TC11MP_TWD_BASE + SZ_4K - 1,
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}, },
[1] = {
.start = IRQ_LOCALWDOG,
.end = IRQ_LOCALWDOG,
.flags = IORESOURCE_IRQ,
}
}; };
static struct platform_device laguna_watchdog = { static struct platform_device laguna_watchdog = {

View File

@ -28,7 +28,7 @@
#ifdef CONFIG_CACHE_L2X0 #ifdef CONFIG_CACHE_L2X0
--- a/arch/arm/mach-cns3xxx/laguna.c --- a/arch/arm/mach-cns3xxx/laguna.c
+++ b/arch/arm/mach-cns3xxx/laguna.c +++ b/arch/arm/mach-cns3xxx/laguna.c
@@ -946,6 +946,7 @@ static int __init laguna_model_setup(voi @@ -941,6 +941,7 @@ static int __init laguna_model_setup(voi
late_initcall(laguna_model_setup); late_initcall(laguna_model_setup);
MACHINE_START(GW2388, "Gateworks Corporation Laguna Platform") MACHINE_START(GW2388, "Gateworks Corporation Laguna Platform")