Hi, [auto build test ERROR on hwmon/hwmon-next] [also build test ERROR on v4.7-rc7 next-20160719] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Guenter-Roeck/hwmon-New-hwmon-registration-API/20160717-133643 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next config: arm-pxa_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 5.4.0-6) 5.4.0 20160609 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): drivers/built-in.o: In function `hwmon_thermal_add_sensor': >> drivers/hwmon/hwmon.c:145: undefined reference to `devm_thermal_zone_of_sensor_register' git remote add linux-review https://github.com/0day-ci/linux git remote update linux-review git checkout 3c8e6fa53b772cd0950dbce3a803575ce7ffa8dc vim +145 drivers/hwmon/hwmon.c 3c8e6fa5 Guenter Roeck 2016-07-16 139 if (!tdata) 3c8e6fa5 Guenter Roeck 2016-07-16 140 return -ENOMEM; 3c8e6fa5 Guenter Roeck 2016-07-16 141 3c8e6fa5 Guenter Roeck 2016-07-16 142 tdata->hwdev = hwdev; 3c8e6fa5 Guenter Roeck 2016-07-16 143 tdata->index = index; 3c8e6fa5 Guenter Roeck 2016-07-16 144 3c8e6fa5 Guenter Roeck 2016-07-16 @145 devm_thermal_zone_of_sensor_register(&hwdev->dev, index, tdata, 3c8e6fa5 Guenter Roeck 2016-07-16 146 &hwmon_thermal_ops); 3c8e6fa5 Guenter Roeck 2016-07-16 147 3c8e6fa5 Guenter Roeck 2016-07-16 148 return 0; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation