Browse Source

staging/mei: struct amt_wd_dev' should it be static

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>
Tomas Winkler 13 years ago
parent
commit
68d923d536
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/mei/wd.c

+ 1 - 1
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 = {
+static struct watchdog_device amt_wd_dev = {
 		.info = &wd_info,
 		.ops = &wd_ops,
 		.timeout = AMT_WD_DEFAULT_TIMEOUT,