From: Tomas Winkler Date: Mon, 2 Apr 2012 17:32:38 +0000 (+0300) Subject: staging/mei: struct amt_wd_dev' should it be static X-Git-Tag: next-20120411~15^2~82 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=68d923d5369e7e8f72dbc75015829b7fc83512fc;p=karo-tx-linux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/mei/wd.c b/drivers/staging/mei/wd.c index d7f40dbce6b0..57a1642b964b 100644 --- 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 = { +static struct watchdog_device amt_wd_dev = { .info = &wd_info, .ops = &wd_ops, .timeout = AMT_WD_DEFAULT_TIMEOUT,