Skip to content
Commit 529d2e19 authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

iio: adc: ad7173: Fix uninitialized symbol is_current_chan



Move the definition down and make it a boolean that is initialized
to false.

Fixes: 13d12e3a ("iio: adc: ad7173: Add support for AD411x devices")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Reported-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202406232046.DKfBJq6o-lkp@intel.com/


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 3587914b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment