Re: [PATCH -next] regulator: bd9571mwv: Make symbol 'dev_attr_backup_mode' static
From: Geert Uytterhoeven
Date: Tue Jul 24 2018 - 02:42:37 EST
On Tue, Jul 24, 2018 at 8:24 AM Wei Yongjun <weiyongjun1@xxxxxxxxxx> wrote:
>
> Fixes the following sparse warning:
>
> drivers/regulator/bd9571mwv-regulator.c:220:1: warning:
> symbol 'dev_attr_backup_mode' was not declared. Should it be static?
>
> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds