projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b18a4d6
)
staging/mei: struct amt_wd_dev' should it be static
author
Tomas Winkler
<tomas.winkler@intel.com>
Mon, 2 Apr 2012 17:32:38 +0000
(20:32 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 16:37:51 +0000
(09:37 -0700)
fix sparse warning:
'amt_wd_dev' was not declared. Should it be static
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mei/wd.c
patch
|
blob
|
history
diff --git
a/drivers/staging/mei/wd.c
b/drivers/staging/mei/wd.c
index d7f40dbce6b072e3b08acb5fe59bcb69f8af4acc..57a1642b964b7ccc16045242f72ef4d270a4300e 100644
(file)
--- a/
drivers/staging/mei/wd.c
+++ b/
drivers/staging/mei/wd.c
@@
-345,7
+345,7
@@
static const struct watchdog_info wd_info = {
.options = WDIOF_KEEPALIVEPING,
};
-struct watchdog_device amt_wd_dev = {
+st
atic st
ruct watchdog_device amt_wd_dev = {
.info = &wd_info,
.ops = &wd_ops,
.timeout = AMT_WD_DEFAULT_TIMEOUT,