cleanup the watchdog driver a bit

SVN-Revision: 16395
This commit is contained in:
Florian Fainelli 2009-06-09 21:35:51 +00:00
parent 972619416e
commit e9c22f7939

View file

@ -74,7 +74,7 @@ static void bcm63xx_timer_tick(unsigned long unused)
bcm63xx_wdt_hw_start();
mod_timer(&bcm63xx_wdt_device.timer, jiffies + HZ);
} else
printk(KERN_CRIT PFX "watchdog will restart system\n");
printk(KERN_CRIT PFX ": watchdog will restart system\n");
}
static void bcm63xx_wdt_pet(void)
@ -219,7 +219,7 @@ static int bcm63xx_wdt_notify_sys(struct notifier_block *this,
return NOTIFY_DONE;
}
static struct file_operations bcm63xx_wdt_fops = {
static const struct file_operations bcm63xx_wdt_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.write = bcm63xx_wdt_write,