staging/mei: struct amt_wd_dev' should it be static
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 2 Apr 2012 17:32:38 +0000 (20:32 +0300)
committerGreg 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

index d7f40dbce6b072e3b08acb5fe59bcb69f8af4acc..57a1642b964b7ccc16045242f72ef4d270a4300e 100644 (file)
@@ -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,