aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/lantiq_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/lantiq_wdt.c')
-rw-r--r--drivers/watchdog/lantiq_wdt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/watchdog/lantiq_wdt.c b/drivers/watchdog/lantiq_wdt.c
index d3a63be2e28d..83044351042c 100644
--- a/drivers/watchdog/lantiq_wdt.c
+++ b/drivers/watchdog/lantiq_wdt.c
@@ -7,6 +7,8 @@
7 * Based on EP93xx wdt driver 7 * Based on EP93xx wdt driver
8 */ 8 */
9 9
10#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
11
10#include <linux/module.h> 12#include <linux/module.h>
11#include <linux/fs.h> 13#include <linux/fs.h>
12#include <linux/miscdevice.h> 14#include <linux/miscdevice.h>
@@ -160,7 +162,7 @@ ltq_wdt_release(struct inode *inode, struct file *file)
160 if (ltq_wdt_ok_to_close) 162 if (ltq_wdt_ok_to_close)
161 ltq_wdt_disable(); 163 ltq_wdt_disable();
162 else 164 else
163 pr_err("ltq_wdt: watchdog closed without warning\n"); 165 pr_err("watchdog closed without warning\n");
164 ltq_wdt_ok_to_close = 0; 166 ltq_wdt_ok_to_close = 0;
165 clear_bit(0, &ltq_wdt_in_use); 167 clear_bit(0, &ltq_wdt_in_use);
166 168