OSDN Git Service
(root)
/
android-x86
/
kernel.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
d7f40db
..
57a1642
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,