]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-s3c2443/s3c2443.c
Driver core: change sysdev classes to use dynamic kobject names
[linux-2.6-omap-h63xx.git] / arch / arm / mach-s3c2443 / s3c2443.c
index 11b1d0b310c3c82989f652ae5b1ca15b490fa961..9ce490560af98df561a7742a858515c17cc063fd 100644 (file)
@@ -43,7 +43,7 @@ static struct map_desc s3c2443_iodesc[] __initdata = {
 };
 
 struct sysdev_class s3c2443_sysclass = {
-       set_kset_name("s3c2443-core"),
+       .name = "s3c2443-core",
 };
 
 static struct sys_device s3c2443_sysdev = {
@@ -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);
 }