Arnd Bergmann
3608688973
iio: ak8975: fix AK09911 dependencies
...
ak8975 depends on I2C and GPIOLIB, so any symbols that selects
ak8975 must have the same dependency, or we get build errors:
drivers/iio/magnetometer/ak8975.c: In function 'ak8975_who_i_am':
drivers/iio/magnetometer/ak8975.c:393:2: error: implicit declaration of function 'i2c_smbus_read_i2c_block_data' [-Werror=implicit-function-declaration]
ret = i2c_smbus_read_i2c_block_data(client, AK09912_REG_WIA1,
^
drivers/iio/magnetometer/ak8975.c: In function 'ak8975_set_mode':
drivers/iio/magnetometer/ak8975.c:431:2: error: implicit declaration of function 'i2c_smbus_write_byte_data' [-Werror=implicit-function-declaration]
ret = i2c_smbus_write_byte_data(data->client,
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Fixes: 57e73a423b ("iio: ak8975: add ak09911 and ak09912 support")
Signed-off-by: Jonathan Cameron <jic23@kernel.org >
2015-02-28 11:26:54 +00:00
..
2015-01-20 11:44:40 +01:00
2014-12-14 16:43:47 -08:00
2015-01-19 14:11:23 -05:00
2014-12-14 16:10:09 -08:00
2014-12-29 21:24:00 +01:00
2014-12-11 17:56:37 -08:00
2015-01-28 16:12:02 +03:00
2014-12-15 13:23:09 -05:00
2015-01-23 14:08:13 -08:00
2014-12-30 13:34:36 -06:00
2015-01-17 11:33:57 -08:00
2015-01-25 17:47:34 -08:00
2014-11-26 19:09:01 -08:00
2014-11-26 19:28:11 -08:00
2014-12-29 21:23:41 +01:00
2014-12-29 21:23:41 +01:00
2014-12-14 16:10:09 -08:00
2015-01-13 23:07:58 +05:30
2014-12-14 16:10:09 -08:00
2014-12-14 16:43:47 -08:00
2014-12-10 20:53:21 +01:00
2014-12-14 16:10:09 -08:00
2015-01-19 05:03:13 +12:00
2015-01-30 13:32:24 +10:00
2015-01-09 14:41:01 +01:00
2014-12-15 17:33:47 -08:00
2014-12-14 16:43:47 -08:00
2015-01-24 14:16:22 +01:00
2015-01-30 17:58:43 +01:00
2014-12-14 16:10:09 -08:00
2015-02-28 11:26:54 +00:00
2015-01-15 19:35:30 -05:00
2015-02-01 13:16:40 -08:00
2015-01-26 13:41:07 +01:00
2015-01-07 12:41:45 +00:00
2015-01-12 15:31:35 -05:00
2015-01-13 13:49:01 -08:00
2014-12-09 16:32:32 +02:00
2014-12-19 19:32:47 +01:00
2014-12-14 16:10:09 -08:00
2015-01-09 15:46:37 -08:00
2015-01-28 10:00:34 -05:00
2015-01-24 14:34:54 -08:00
2014-12-17 09:59:26 -08:00
2015-02-03 15:58:39 -08:00
2015-01-21 18:29:44 +12:00
2015-01-17 08:18:08 +13:00
2015-01-14 09:47:19 +01:00
2014-12-17 09:59:26 -08:00
2015-01-27 12:24:30 -08:00
2014-12-18 20:28:33 -08:00
2015-01-23 13:10:07 +00:00
2015-01-16 10:04:43 -06:00
2014-12-14 16:43:47 -08:00
2015-01-16 10:04:42 -06:00
2014-12-14 16:43:47 -08:00
2014-12-23 15:44:32 +05:30
2015-01-26 09:13:36 +01:00
2015-01-23 11:10:32 -08:00
2014-12-18 20:28:33 -08:00
2014-12-17 02:35:42 +01:00
2014-12-17 10:10:51 -08:00
2015-01-16 12:05:35 +00:00
2014-12-14 16:10:09 -08:00
2015-01-16 19:11:31 -08:00
2014-11-26 18:24:36 +02:00
2015-01-26 13:37:19 -08:00
2015-01-25 23:38:16 -08:00
2015-01-27 09:02:09 -08:00
2014-12-05 03:08:24 +01:00
2014-12-15 15:52:01 -08:00
2015-01-26 11:16:27 +00:00
2014-12-11 17:56:37 -08:00
2015-02-07 17:41:12 +08:00
2015-01-09 15:25:58 -08:00
2014-11-24 07:45:25 +01:00
2015-01-15 19:20:26 +13:00
2015-01-09 13:46:02 -08:00
2014-12-14 16:43:47 -08:00
2015-01-26 19:13:41 -08:00
2015-01-07 10:29:11 -07:00
2015-01-13 15:23:26 +13:00
2015-01-13 15:13:45 +02:00
2015-01-06 16:35:36 +02:00
2014-12-14 16:43:47 -08:00
2015-01-21 14:52:34 +01:00
2014-12-18 05:56:29 -08:00
2015-02-03 15:58:39 -08:00
2014-12-22 11:47:37 +02:00