diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2011-10-23 18:30:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-26 16:05:13 -0800 |
commit | 575c1e43c85307b66625f9d5940302ac10333434 (patch) | |
tree | 60adbd690add8970ec9ce96081d15e87c956f0f2 /drivers/staging/mei | |
parent | 55f9102b7591c4cc057e6aa9e9d1e8df7ab97377 (diff) | |
download | linux-575c1e43c85307b66625f9d5940302ac10333434.tar.gz linux-575c1e43c85307b66625f9d5940302ac10333434.tar.bz2 linux-575c1e43c85307b66625f9d5940302ac10333434.zip |
staging:mei: wd_ops and wd_info should be static
wd_ops and wd_info structures are local to wd.c so mark them static
Cc: Oren Weil <oren.jer.weil@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/mei')
-rw-r--r-- | drivers/staging/mei/wd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/mei/wd.c b/drivers/staging/mei/wd.c index ffca7ca32658..cb3f92d221a7 100644 --- a/drivers/staging/mei/wd.c +++ b/drivers/staging/mei/wd.c @@ -331,14 +331,14 @@ static int mei_wd_ops_set_timeout(struct watchdog_device *wd_dev, unsigned int t /* * Watchdog Device structs */ -const struct watchdog_ops wd_ops = { +static const struct watchdog_ops wd_ops = { .owner = THIS_MODULE, .start = mei_wd_ops_start, .stop = mei_wd_ops_stop, .ping = mei_wd_ops_ping, .set_timeout = mei_wd_ops_set_timeout, }; -const struct watchdog_info wd_info = { +static const struct watchdog_info wd_info = { .identity = INTEL_AMT_WATCHDOG_ID, .options = WDIOF_KEEPALIVEPING, }; |