[PATCH] ppc: booke_wdt compile fix
authorAl Viro <viro@ftp.linux.org.uk>
Fri, 16 Dec 2005 22:35:28 +0000 (22:35 +0000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 16 Dec 2005 22:43:05 +0000 (14:43 -0800)
booke_wdt.c had been missed in cpu_specs[] removal sweep

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/watchdog/booke_wdt.c

index c800cce..b664060 100644 (file)
@@ -173,7 +173,7 @@ static int __init booke_wdt_init(void)
        int ret = 0;
 
        printk (KERN_INFO "PowerPC Book-E Watchdog Timer Loaded\n");
-       ident.firmware_version = cpu_specs[0].pvr_value;
+       ident.firmware_version = cur_cpu_spec->pvr_value;
 
        ret = misc_register(&booke_wdt_miscdev);
        if (ret) {