linux_dsm_epyc7002/drivers/iio/magnetometer
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
..
ak8975.c iio: magnetometer: ak8975: Add AK8963 2015-01-27 18:49:59 +00:00
hid-sensor-magn-3d.c iio: hid-sensor-magn-3d: Introduce PM 2015-01-25 22:55:53 +00:00
Kconfig iio: ak8975: fix AK09911 dependencies 2015-02-28 11:26:54 +00:00
mag3110.c iio:magnetometer:mag3110: Enable user offset calibration 2014-05-03 11:27:52 +01:00
Makefile iio: ak8975: add ak09911 and ak09912 support 2014-12-12 12:28:20 +00:00
st_magn_buffer.c
st_magn_core.c First round of new drivers, features and cleanups for IIO in the 3.19 cycle. 2014-11-05 11:42:48 -08:00
st_magn_i2c.c iio:common: Set the device pointer into ST common sensors library 2014-10-04 11:26:21 +01:00
st_magn_spi.c iio:common: Set the device pointer into ST common sensors library 2014-10-04 11:26:21 +01:00
st_magn.h iio:magnetometer: Removed unnecessary parameter on common_probe function 2014-10-04 11:25:19 +01:00