Skip to content
Commit f1caa900 authored by Tom Rix's avatar Tom Rix Committed by Jonathan Cameron
Browse files

iio: dac: set variable max5522_channels storage-class-specifier to static



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: default avatarTom Rix <trix@redhat.com>
Reviewed-by: default avatarNuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20230404013828.1914523-1-trix@redhat.com
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent ac2babe7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment