Skip to content

Commit

Permalink
staging/mei: struct amt_wd_dev' should it be static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomas Winkler authored and Greg Kroah-Hartman committed Apr 10, 2012
1 parent b18a4d6 commit 68d923d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/mei/wd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 68d923d

Please sign in to comment.