]> err.no Git - linux-2.6/commitdiff
[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 c800cce73c1e7b5cec6b5eac97ba990c825092c0..b6640606b44d87d7402e11a6c96ba79126a2a649 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) {