surface3_button.c:undefined reference to `i2c_del_driver'

From: kbuild test robot
Date: Mon Jan 02 2017 - 01:26:21 EST


Hi Benjamin,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0c744ea4f77d72b3dcebb7a8f2684633ec79be88
commit: 1a64b719d3ae0e4fb939d9a9e31abb60b4ce4eb1 platform/x86: Introduce button support for the Surface 3
date: 2 weeks ago
config: i386-randconfig-c0-01021248 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
git checkout 1a64b719d3ae0e4fb939d9a9e31abb60b4ce4eb1
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

drivers/built-in.o: In function `surface3_driver_exit':
>> surface3_button.c:(.exit.text+0x152d): undefined reference to `i2c_del_driver'
drivers/built-in.o: In function `surface3_driver_init':
>> surface3_button.c:(.init.text+0x1754d): undefined reference to `i2c_register_driver'

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip