projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WATCHDOG] watchdog_info constify
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
watchdog
/
rc32434_wdt.c
diff --git
a/drivers/watchdog/rc32434_wdt.c
b/drivers/watchdog/rc32434_wdt.c
index bf12d06b587774ff1a576619427f73e9380195ae..d4c29b5311a4d574dea0c4d67300392472c03b3f 100644
(file)
--- a/
drivers/watchdog/rc32434_wdt.c
+++ b/
drivers/watchdog/rc32434_wdt.c
@@
-198,7
+198,7
@@
static long rc32434_wdt_ioctl(struct file *file, unsigned int cmd,
void __user *argp = (void __user *)arg;
int new_timeout;
unsigned int value;
- static struct watchdog_info ident = {
+ static
const
struct watchdog_info ident = {
.options = WDIOF_SETTIMEOUT |
WDIOF_KEEPALIVEPING |
WDIOF_MAGICCLOSE,