Re: [PATCH] iio: dac: set varaiable max5522_channels storage-class-specifier to static
From: Nuno Sá
Date: Tue Apr 04 2023 - 02:41:36 EST
On Mon, 2023-04-03 at 21:38 -0400, Tom Rix wrote:
> smatch reports
> drivers/iio/dac/max5522.c:55:28: warning: symbol
> 'max5522_channels' was not declared. Should it be static?
>
> This variable is only used in one file so it should be static.
>
> Signed-off-by: Tom Rix <trix@xxxxxxxxxx>
> ---
Reviewed-by: Nuno Sa <nuno.sa@xxxxxxxxxx>