watchdog: imx2_wdg: Declare local symbols static
Bugzilla: https://bugzilla.redhat.com/2230688
Build Info: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=54605128
Tested: Did sanity boot testing on (nxp-imx8mquad-01.edge1) system.
commit 0ea0a825192efdd44af4c016faaab1a3d2073c78 Author: Guenter Roeck linux@roeck-us.net Date: Tue Feb 28 07:16:48 2023 -0800
watchdog: imx2_wdg: Declare local symbols static
0-day complains:
drivers/watchdog/imx2_wdt.c:442:22: sparse:
symbol 'imx_wdt' was not declared. Should it be static?
drivers/watchdog/imx2_wdt.c:446:22: sparse:
symbol 'imx_wdt_legacy' was not declared. Should it be static?
Declare as static variables.
Fixes: e42c73f1ef0d ("watchdog: imx2_wdg: suspend watchdog in WAIT mode")
Cc: Andrej Picej <andrej.picej@norik.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20230228151648.4087637-1-linux@roeck-us.net
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Signed-off-by: Steve Best sbest@redhat.com