watchdog: sa1100: make variable sa1100dog_driver static
authorsunliming <sunliming@kylinos.cn>
Fri, 26 Aug 2022 08:52:43 +0000 (16:52 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 2 Oct 2022 10:55:39 +0000 (12:55 +0200)
commit74b31987e281e31d7bd4184c027d57543e9e0392
tree8f37cb14a1c6d60841519e49eab77c56f3c523a2
parentb26b96085d521466bd8ddf624c0853842215d0f0
watchdog: sa1100: make variable sa1100dog_driver static

This symbol is not used outside of sa1100_wdt.c, so marks it static.

Fixes the following warning:

>> drivers/watchdog/sa1100_wdt.c:241:24: sparse: sparse: symbol 'sa1100dog_driver'
was not declared. Should it be static?

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: sunliming <sunliming@kylinos.cn>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220802020819.1226454-1-sunliming@kylinos.cn
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/sa1100_wdt.c