On Tue, 04 Apr 2023 08:43:32 +0200 Nuno Sá <noname.nuno@xxxxxxxxx> wrote: > 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> > > Applied to the togreg branch of iio.git (pushed out initially as testing) with tweak in patch title to fix "variable" Thanks, Jonathan