]> Pileus Git - ~andy/linux/commitdiff
staging:mei: wd_ops and wd_info should be static
authorTomas Winkler <tomas.winkler@intel.com>
Sun, 23 Oct 2011 16:30:39 +0000 (18:30 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 00:05:13 +0000 (16:05 -0800)
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>
drivers/staging/mei/wd.c

index ffca7ca3265861c4ee825cdbb99174c39fbaa852..cb3f92d221a75d376fd523b1284c32f7b561ec52 100644 (file)
@@ -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,
 };