Sfoglia il codice sorgente

[ARM] 4398/1: S3C2443: Fix watchdog IRQ number

Fix the IRQ number for watchdog on S3C2443

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Ben Dooks 18 anni fa
parent
commit
7e966f3c39
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      arch/arm/mach-s3c2443/s3c2443.c

+ 4 - 0
arch/arm/mach-s3c2443/s3c2443.c

@@ -63,6 +63,10 @@ int __init s3c2443_init(void)
 
 	s3c_device_nand.name = "s3c2412-nand";
 
+	/* change WDT IRQ number */
+	s3c_device_wdt.resource[1].start = IRQ_S3C2443_WDT;
+	s3c_device_wdt.resource[1].end   = IRQ_S3C2443_WDT;
+
 	return sysdev_register(&s3c2443_sysdev);
 }