[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5718A53E.90101@intel.com>
Date: Thu, 21 Apr 2016 13:02:38 +0300
From: Crestez Dan Leonard <leonard.crestez@...el.com>
To: linux-iio@...r.kernel.org
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
Hartmut Knaack <knaack.h@....de>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
Daniel Baluta <daniel.baluta@...el.com>,
linux-i2c@...r.kernel.org, Wolfram Sang <wsa@...-dreams.de>,
Peter Rosin <peda@...ntia.se>,
Jonathan Cameron <jic23@...nel.org>
Subject: Re: [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master
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.
Powered by blists - more mailing lists