Re: [PATCH] watchdog: imx2_wdg: Declare local symbols static

From: Andrej Picej
Date: Thu Mar 02 2023 - 05:02:21 EST


On 28. 02. 23 16:16, Guenter Roeck wrote:
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@xxxxxxxxx>
Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>

Hi Guenter,

thanks for the fix. Sorry for the trouble.

Best regards,
Andrej