[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <54D26867.8010804@kernel.org>
Date: Wed, 04 Feb 2015 18:43:51 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Randy Dunlap <rdunlap@...radead.org>,
LKML <linux-kernel@...r.kernel.org>, linux-iio@...r.kernel.org
CC: Hartmut Knaack <knaack.h@....de>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald <pmeerw@...erw.net>
Subject: Re: [PATCH -next] iio/magnetometer: fix AK09911 dependencies
On 04/02/15 18:38, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@...radead.org>
>
> Fix AK09911 dependencies to eliminate these build errors (since
> 'select' does not follow dependencies):
>
> drivers/built-in.o: In function `ak8975_set_mode':
> X32/../drivers/iio/magnetometer/ak8975.c:431: undefined reference to `i2c_smbus_write_byte_data'
> drivers/built-in.o: In function `ak8975_read_raw':
> X32/../drivers/iio/magnetometer/ak8975.c:572: undefined reference to `i2c_smbus_read_byte_data'
> X32/../drivers/iio/magnetometer/ak8975.c:555: undefined reference to `i2c_smbus_read_byte_data'
> X32/../drivers/iio/magnetometer/ak8975.c:650: undefined reference to `i2c_smbus_read_word_data'
> X32/../drivers/iio/magnetometer/ak8975.c:634: undefined reference to `i2c_smbus_read_byte_data'
> drivers/built-in.o: In function `ak8975_probe':
> X32/../drivers/iio/magnetometer/ak8975.c:393: undefined reference to `i2c_smbus_read_i2c_block_data'
> X32/../drivers/iio/magnetometer/ak8975.c:506: undefined reference to `i2c_smbus_read_i2c_block_data'
> drivers/built-in.o: In function `ak8975_driver_init':
> X32/../drivers/iio/magnetometer/ak8975.c:846: undefined reference to `i2c_register_driver'
> drivers/built-in.o: In function `ak8975_driver_exit':
> X32/../drivers/iio/magnetometer/ak8975.c:846: undefined reference to `i2c_del_driver'
> drivers/built-in.o:(.debug_addr+0x4d868): undefined reference to `i2c_register_driver'
> drivers/built-in.o:(.debug_addr+0x4d89c): undefined reference to `i2c_smbus_write_byte_data'
> drivers/built-in.o:(.debug_addr+0x4d8a4): undefined reference to `i2c_smbus_read_word_data'
> drivers/built-in.o:(.debug_addr+0x4d98c): undefined reference to `i2c_del_driver'
> drivers/built-in.o:(.debug_addr+0x4da14): undefined reference to `i2c_smbus_read_i2c_block_data'
> drivers/built-in.o:(.debug_addr+0x4dad4): undefined reference to `i2c_smbus_read_byte_data'
>
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Cc: Jonathan Cameron <jic23@...nel.org>
> Cc: Hartmut Knaack <knaack.h@....de>
> Cc: Lars-Peter Clausen <lars@...afoo.de>
> Cc: Peter Meerwald <pmeerw@...erw.net>
> Cc: linux-iio@...r.kernel.org
> ---
Hi Randy,
Thanks, Arnd Bergman got their first. Unfortunately I failed to apply before
sending the pull request on to Greg. Will follow this up asap...
(which might not be that quick as I'm travelling until the weekend).
Jonathan
> drivers/iio/magnetometer/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> --- linux-next-20150204.orig/drivers/iio/magnetometer/Kconfig
> +++ linux-next-20150204/drivers/iio/magnetometer/Kconfig
> @@ -18,6 +18,7 @@ config AK8975
>
> config AK09911
> tristate "Asahi Kasei AK09911 3-axis Compass"
> + depends on I2C && GPIOLIB
> select AK8975
> help
> Deprecated: AK09911 is now supported by AK8975 driver.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists