Re: [PATCH 2/2] iio: adc: meson: add support for the GXLX SoC

From: kernel test robot
Date: Tue Jun 04 2024 - 05:13:26 EST


Hi Christian,

kernel test robot noticed the following build errors:

[auto build test ERROR on jic23-iio/togreg]
[also build test ERROR on robh/for-next linus/master v6.10-rc2 next-20240604]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Christian-Hewitt/iio-adc-meson-add-support-for-the-GXLX-SoC/20240604-135606
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
patch link: https://lore.kernel.org/r/20240604055431.3313961-2-christianshewitt%40gmail.com
patch subject: [PATCH 2/2] iio: adc: meson: add support for the GXLX SoC
config: arm-defconfig (https://download.01.org/0day-ci/archive/20240604/202406041751.elQWr6cj-lkp@xxxxxxxxx/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240604/202406041751.elQWr6cj-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406041751.elQWr6cj-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/iio/adc/meson_saradc.c:1262:18: error: use of undeclared identifier 'VREF_VOLTAGE_1V8'
.vref_voltage = VREF_VOLTAGE_1V8,
^
1 error generated.


vim +/VREF_VOLTAGE_1V8 +1262 drivers/iio/adc/meson_saradc.c

1255
1256 static const struct meson_sar_adc_param meson_sar_adc_gxlx_param = {
1257 .has_bl30_integration = true,
1258 .clock_rate = 1200000,
1259 .regmap_config = &meson_sar_adc_regmap_config_gxbb,
1260 .resolution = 12,
1261 .disable_ring_counter = 1,
> 1262 .vref_voltage = VREF_VOLTAGE_1V8,
1263 .cmv_select = true,
1264 .mpll_clock_bits = true,
1265 };
1266

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki