Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1384031

Re: [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master

From Crestez Dan Leonard <leonard.crestez@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master
Date 2016-04-21 12:10 +0200
Message-ID <rqjIB-7vo-1@gated-at.bofh.it> (permalink)
References <rq4Tg-3DS-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 04/20/2016 09:17 PM, kbuild test robot wrote:
> Hi,
> 
> [auto build test ERROR on iio/togreg]
> [also build test ERROR on v4.6-rc4 next-20160420]
> [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
> 
> url:    https://github.com/0day-ci/linux/commits/Crestez-Dan-Leonard/iio-inv_mpu6050-Add-support-for-auxiliary-I2C-master/20160421-012042
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
> config: i386-randconfig-i1-201616 (attached as .config)
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/iio/imu/inv_mpu6050/inv_mpu_core.c: In function 'inv_mpu_core_probe':
>>> drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:966:11: error: implicit declaration of function 'i2c_add_adapter' [-Werror=implicit-function-declaration]
>      result = i2c_add_adapter(&st->aux_master_adapter);
>               ^
>>> drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:983:2: error: implicit declaration of function 'i2c_del_adapter' [-Werror=implicit-function-declaration]
>      i2c_del_adapter(&st->aux_master_adapter);
>      ^
>    cc1: some warnings being treated as errors

This error happens if you disable CONFIG_I2C and only compile with SPI
support. I will add a bunch of #ifdef CONFIG_I2C in the next version.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master Crestez Dan Leonard <leonard.crestez@intel.com> - 2016-04-20 19:20 +0200
  Re: [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master kbuild test robot <lkp@intel.com> - 2016-04-20 20:20 +0200
    Re: [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master Crestez Dan Leonard <leonard.crestez@intel.com> - 2016-04-21 12:10 +0200
  Re: [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master Jonathan Cameron <jic23@kernel.org> - 2016-04-23 23:40 +0200

csiph-web