Skip to contentSkip to conversation

ppc: booke_wdt compile fix

PATCH New Al Viro 1 participant 1 message Dec 16, 2005 Char and misc drivers

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 ppc: booke_wdt compile fix

booke_wdt.c had been missed in cpu_specs[] removal sweep

---

 drivers/char/watchdog/booke_wdt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

c845a90e7ff367deb10a66dbf37c3709b8d76325

drivers/char/watchdog/booke_wdt.c +1 -1
index c800cce..b664060 100644
@@ -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) {
Signature · 1 line
0.99.9.GIT