From: Tomas Winkler Date: Sun, 23 Oct 2011 16:30:39 +0000 (+0200) Subject: staging:mei: wd_ops and wd_info should be static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=575c1e43c85307b66625f9d5940302ac10333434;p=mv-sheeva.git 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 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 ffca7ca3265..cb3f92d221a 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, };