aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-06-12 02:32:39 -0400
committerWim Van Sebroeck <wim@iguana.be>2017-07-03 07:53:34 -0400
commit935988c67406f35e63873ac63e2962664ee99bdc (patch)
tree076d0164168debba491ac7b7bf58e2d87cfc1626
parentd34f1f4800439c8330f05e9f1133317f3b1f8c38 (diff)
watchdog: zx2967: constify zx2967_wdt_ops.
File size before: text data bss dec hex filename 988 288 0 1276 4fc drivers/watchdog/zx2967_wdt.o File size After adding 'const': text data bss dec hex filename 1084 192 0 1276 4fc drivers/watchdog/zx2967_wdt.o Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
-rw-r--r--drivers/watchdog/zx2967_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/zx2967_wdt.c b/drivers/watchdog/zx2967_wdt.c
index c98252733c30..69ec5855584b 100644
--- a/drivers/watchdog/zx2967_wdt.c
+++ b/drivers/watchdog/zx2967_wdt.c
@@ -154,7 +154,7 @@ static const struct watchdog_info zx2967_wdt_ident = {
154 .identity = "zx2967 watchdog", 154 .identity = "zx2967 watchdog",
155}; 155};
156 156
157static struct watchdog_ops zx2967_wdt_ops = { 157static const struct watchdog_ops zx2967_wdt_ops = {
158 .owner = THIS_MODULE, 158 .owner = THIS_MODULE,
159 .start = zx2967_wdt_start, 159 .start = zx2967_wdt_start,
160 .stop = zx2967_wdt_stop, 160 .stop = zx2967_wdt_stop,