tree: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/pxa-header-move head: ff8d218aab16906b4af20f5d8fd374acfbfe454d commit: fc5fb4618647d9e6fd0216ef0e3cbaaf8ce43b72 [1/2] ARM: pxa: move declarations to proper place config: arm-pxa_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout fc5fb4618647d9e6fd0216ef0e3cbaaf8ce43b72 # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): arch/arm/mach-pxa/zylonite_pxa300.c: In function 'zylonite_init_i2c': >> arch/arm/mach-pxa/zylonite_pxa300.c:245:2: error: implicit declaration of function 'pxa_set_i2c_info' [-Werror=implicit-function-declaration] pxa_set_i2c_info(NULL); ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors -- arch/arm/mach-pxa/littleton.c: In function 'littleton_init_i2c': >> arch/arm/mach-pxa/littleton.c:414:2: error: implicit declaration of function 'pxa_set_i2c_info' [-Werror=implicit-function-declaration] pxa_set_i2c_info(NULL); ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors -- arch/arm/mach-pxa/xcep.c: In function 'xcep_init': >> arch/arm/mach-pxa/xcep.c:179:2: error: implicit declaration of function 'pxa_set_i2c_info' [-Werror=implicit-function-declaration] pxa_set_i2c_info(&xcep_i2c_platform_data); ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/pxa_set_i2c_info +245 arch/arm/mach-pxa/zylonite_pxa300.c a1f7fc48 Eric Miao 2008-05-28 242 a1f7fc48 Eric Miao 2008-05-28 243 static void __init zylonite_init_i2c(void) a1f7fc48 Eric Miao 2008-05-28 244 { a1f7fc48 Eric Miao 2008-05-28 @245 pxa_set_i2c_info(NULL); a1f7fc48 Eric Miao 2008-05-28 246 i2c_register_board_info(0, ARRAY_AND_SIZE(zylonite_i2c_board_info)); a1f7fc48 Eric Miao 2008-05-28 247 } a1f7fc48 Eric Miao 2008-05-28 248 #else a1f7fc48 Eric Miao 2008-05-28 249 static inline void zylonite_init_i2c(void) {} a1f7fc48 Eric Miao 2008-05-28 250 #endif a1f7fc48 Eric Miao 2008-05-28 251 :::::: The code at line 245 was first introduced by commit :::::: a1f7fc48c143537e2bf70affee7e8932f5be9bb4 [ARM] pxa: add GPIO expander (PCA9539) support for zylonite :::::: TO: Eric Miao <eric.miao@xxxxxxxxxxx> :::::: CC: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip