Hi Arushi, [auto build test ERROR on iio/togreg] [also build test ERROR on v4.11-rc3 next-20170324] [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/Arushi-Singhal/staging-tsl2x7x-Moved-contents-of-the-header-to-the-source-file/20170325-152616 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg config: x86_64-randconfig-x004-201712 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): In file included from drivers/staging/iio/light/tsl2x7x_core.c:33:0: >> drivers/staging/iio/light/tsl2x7x.h:39:40: error: 'TSL2X7X_MAX_LUX_TABLE_SIZE' undeclared here (not in a function) struct tsl2x7x_lux platform_lux_table[TSL2X7X_MAX_LUX_TABLE_SIZE]; ^~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/TSL2X7X_MAX_LUX_TABLE_SIZE +39 drivers/staging/iio/light/tsl2x7x.h 3c97c08b Jon Brenner 2012-04-24 33 * 3c97c08b Jon Brenner 2012-04-24 34 */ 3c97c08b Jon Brenner 2012-04-24 35 struct tsl2X7X_platform_data { 3c97c08b Jon Brenner 2012-04-24 36 int (*platform_power)(struct device *dev, pm_message_t); 3c97c08b Jon Brenner 2012-04-24 37 int (*power_on)(struct iio_dev *indio_dev); 3c97c08b Jon Brenner 2012-04-24 38 int (*power_off)(struct i2c_client *dev); 3c97c08b Jon Brenner 2012-04-24 @39 struct tsl2x7x_lux platform_lux_table[TSL2X7X_MAX_LUX_TABLE_SIZE]; 3c97c08b Jon Brenner 2012-04-24 40 struct tsl2x7x_settings *platform_default_settings; 3c97c08b Jon Brenner 2012-04-24 41 }; 3c97c08b Jon Brenner 2012-04-24 42 :::::: The code at line 39 was first introduced by commit :::::: 3c97c08b5735ac05ebc0cbd0aa7722393f50b846 staging: iio: add TAOS tsl2x7x driver :::::: TO: Jon Brenner <jbrenner@xxxxxxxxxxx> :::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel