git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
watchdog: twl4030_wdt: Disable watchdog during probing
[safe/jmp/linux-2.6]
/
drivers
/
watchdog
/
alim1535_wdt.c
diff --git
a/drivers/watchdog/alim1535_wdt.c
b/drivers/watchdog/alim1535_wdt.c
index
937a80f
..
1e9caea
100644
(file)
--- a/
drivers/watchdog/alim1535_wdt.c
+++ b/
drivers/watchdog/alim1535_wdt.c
@@
-180,7
+180,7
@@
static long ali_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{
void __user *argp = (void __user *)arg;
int __user *p = argp;
- static struct watchdog_info ident = {
+ static
const
struct watchdog_info ident = {
.options = WDIOF_KEEPALIVEPING |
WDIOF_SETTIMEOUT |
WDIOF_MAGICCLOSE,