Re: [PATCH] watchdog: sa1100: make variable sa1100dog_driver static

From: Arnd Bergmann
Date: Tue Aug 02 2022 - 04:10:20 EST


On Tue, Aug 2, 2022 at 4:08 AM sunliming <sunliming@xxxxxxxxxx> wrote:
>
> 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@xxxxxxxxx>
> Signed-off-by: sunliming <sunliming@xxxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>