Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2015-10-28 05:46:13
Also in:
linux-input, lkml
On Wed, Oct 28, 2015 at 12:38:31AM -0500, Michael Welling wrote:
On Wed, Oct 28, 2015 at 12:37:35PM +0800, kbuild test robot wrote:quoted
Hi Michael, [auto build test ERROR on input/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Michael-Welling/Input-tsc2005-Add-support-for-tsc2004/20151028-082017 config: x86_64-randconfig-s1-10281141 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/built-in.o: In function `tsc2005_cmd': tsc2005.c:(.text+0x21a352): undefined reference to `i2c_smbus_write_byte' drivers/built-in.o: In function `tsc200x_probe_common':quoted
quoted
tsc2005.c:(.text+0x21b554): undefined reference to `__devm_regmap_init_i2c'drivers/built-in.o: In function `tsc2005_modinit': tsc2005.c:(.init.text+0xe2b2): undefined reference to `i2c_register_driver' drivers/built-in.o: In function `tsc2005_exit': tsc2005.c:(.exit.text+0xf4c): undefined reference to `i2c_del_driver'Sorry Mr. Robot but this configuration does not make sense. How is CONFIG_REGMAP_I2C=m set without CONFIG_I2C being selected? CONFIG_REGMAP_I2C depends on CONFIG_I2C.
The call to devm_regmap_init_i2c() in tsc200x_probe_common() is not protected by #ifdef guard and we do not have stub for it in case of !CONFIG_I2C. Thanks. -- Dmitry