diff options
| -rw-r--r-- | drivers/char/watchdog/mixcomwd.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/char/watchdog/mixcomwd.c b/drivers/char/watchdog/mixcomwd.c index 59a3baadc704..db2ccb864412 100644 --- a/drivers/char/watchdog/mixcomwd.c +++ b/drivers/char/watchdog/mixcomwd.c | |||
| @@ -229,8 +229,7 @@ static int mixcomwd_ioctl(struct inode *inode, struct file *file, | |||
| 229 | return 0; | 229 | return 0; |
| 230 | } | 230 | } |
| 231 | 231 | ||
| 232 | static const struct file_operations mixcomwd_fops= | 232 | static const struct file_operations mixcomwd_fops = { |
| 233 | { | ||
| 234 | .owner = THIS_MODULE, | 233 | .owner = THIS_MODULE, |
| 235 | .llseek = no_llseek, | 234 | .llseek = no_llseek, |
| 236 | .write = mixcomwd_write, | 235 | .write = mixcomwd_write, |
| @@ -239,8 +238,7 @@ static const struct file_operations mixcomwd_fops= | |||
| 239 | .release = mixcomwd_release, | 238 | .release = mixcomwd_release, |
| 240 | }; | 239 | }; |
| 241 | 240 | ||
| 242 | static struct miscdevice mixcomwd_miscdev= | 241 | static struct miscdevice mixcomwd_miscdev = { |
| 243 | { | ||
| 244 | .minor = WATCHDOG_MINOR, | 242 | .minor = WATCHDOG_MINOR, |
| 245 | .name = "watchdog", | 243 | .name = "watchdog", |
| 246 | .fops = &mixcomwd_fops, | 244 | .fops = &mixcomwd_fops, |
| @@ -292,7 +290,8 @@ static int __init mixcomwd_init(void) | |||
| 292 | goto error_misc_register_watchdog; | 290 | goto error_misc_register_watchdog; |
| 293 | } | 291 | } |
| 294 | 292 | ||
| 295 | printk(KERN_INFO "MixCOM watchdog driver v%s, watchdog port at 0x%3x\n",VERSION,watchdog_port); | 293 | printk(KERN_INFO "MixCOM watchdog driver v%s, watchdog port at 0x%3x\n", |
| 294 | VERSION, watchdog_port); | ||
| 296 | 295 | ||
| 297 | return 0; | 296 | return 0; |
| 298 | 297 | ||
