Skip to contentSkip to conversation

staging:mei: wd_ops and wd_info should be static

PATCH New Oren Weil 1 participant 1 message Oct 23, 2011 Staging

lore
Share & tools
lore

Oren Weil

author
#0 lore raw

PATCH 1/1 staging:mei: wd_ops and wd_info should be static

From: Tomas Winkler <[email protected]>

wd_ops and wd_info structures are local to wd.c so mark them static

---
 drivers/staging/mei/wd.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/mei/wd.c +2 -2
index ffca7ca..cb3f92d 100644
@@ -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,
 };
Signature · 1 line
1.7.5.4