surface3_button.c:undefined reference to `i2c_register_driver'

From: kbuild test robot
Date: Tue Dec 27 2016 - 02:00:21 EST

tree: master
head: 0dad3a3014a0b9e72521ff44f17e0054f43dcdea
commit: 1a64b719d3ae0e4fb939d9a9e31abb60b4ce4eb1 platform/x86: Introduce button support for the Surface 3
date: 10 days ago
config: x86_64-randconfig-ne0-12271055 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
git checkout 1a64b719d3ae0e4fb939d9a9e31abb60b4ce4eb1
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

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

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip