Arnd Bergmann
b548674ea7
iio: gyro: mpu3050: add I2C dependency
...
The new mpu3050 driver fails to build if I2C is disabled:
drivers/iio/built-in.o: In function `mpu3050_i2c_driver_exit':
mpu3050-i2c.c:(.exit.text+0x17f): undefined reference to `i2c_del_driver'
drivers/iio/built-in.o: In function `mpu3050_i2c_driver_init':
mpu3050-i2c.c:(.init.text+0x215): undefined reference to `i2c_register_driver'
This adds a Kconfig dependency to ensure we only build it when I2C
is available.
Fixes: 3904b28efb ("iio: gyro: Add driver for the MPU-3050 gyroscope")
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Jonathan Cameron <jic23@kernel.org >
2016-11-08 20:29:33 +00:00
..
2016-10-29 01:58:03 +02:00
2016-10-24 19:37:48 +02:00
2016-10-25 11:43:07 -04:00
2016-10-06 17:03:41 +02:00
2016-10-27 17:47:12 +02:00
2016-10-27 18:43:43 -07:00
2016-10-07 09:46:56 +02:00
2016-10-17 13:46:09 -07:00
2016-10-24 21:34:13 -07:00
2016-10-20 16:37:56 -07:00
2016-10-20 21:58:58 +02:00
2016-10-29 01:29:17 +02:00
2016-10-15 09:26:12 -07:00
2016-10-10 14:04:16 -07:00
2016-10-27 17:04:05 -07:00
2016-10-11 00:01:20 +02:00
2016-10-06 17:13:54 -07:00
2016-10-11 18:12:22 -07:00
2016-10-04 12:06:26 -07:00
2016-10-26 16:04:29 +09:00
2016-10-09 11:38:11 +02:00
2016-10-19 14:49:44 +02:00
2016-10-24 02:20:40 +02:00
2016-10-26 16:48:01 +10:00
2016-10-10 10:58:22 +02:00
2016-10-25 08:52:10 +02:00
2016-10-17 10:16:20 -07:00
2016-10-25 12:15:00 +02:00
2016-10-07 18:46:30 -07:00
2016-11-08 20:29:33 +00:00
2016-10-19 08:39:47 -07:00
2016-10-14 13:19:30 -07:00
2016-10-11 12:52:41 -07:00
2016-10-27 18:43:43 -07:00
2016-10-21 21:40:29 +02:00
2016-09-20 10:22:10 +02:00
2016-10-07 14:42:05 -07:00
2016-09-20 20:57:12 +10:00
2016-10-06 17:36:53 -07:00
2016-09-27 12:33:47 +02:00
2016-10-28 09:27:58 -07:00
2016-10-19 08:39:47 -07:00
2016-10-07 21:23:40 -07:00
2016-10-17 15:43:05 +02:00
2016-11-05 17:30:51 +00:00
2016-10-29 11:19:02 -07:00
2016-10-17 15:43:03 +02:00
2016-10-28 14:48:18 +02:00
2016-10-14 13:43:08 -07:00
2016-10-27 16:16:21 -07:00
2016-10-21 10:54:01 -07:00
2016-10-07 21:23:40 -07:00
2016-10-15 09:26:12 -07:00
2016-10-10 20:16:43 -07:00
2016-10-26 12:05:34 +02:00
2016-09-22 09:39:16 +01:00
2016-10-17 15:50:07 +01:00
2016-10-18 14:38:16 +02:00
2016-11-07 09:14:03 +01:00
2016-10-06 18:21:15 -07:00
2016-10-11 15:06:32 -07:00
2016-09-20 20:57:12 +10:00
2016-10-13 10:20:06 -04:00
2016-10-19 08:11:43 -07:00
2016-10-12 11:05:23 -07:00
2016-10-06 17:03:49 -07:00
2016-10-22 18:31:42 +09:00
2016-10-14 13:13:44 -07:00
2016-10-27 14:16:30 -07:00
2016-10-27 10:08:58 -07:00
2016-10-14 11:07:42 -07:00
2016-10-11 15:06:33 -07:00
2016-09-27 12:43:34 +02:00
2016-11-08 20:27:12 +00:00
2016-10-21 01:19:44 -07:00
2016-10-20 14:15:44 +08:00
2016-10-28 08:13:07 -04:00
2016-10-25 16:14:32 +08:00
2016-09-29 13:36:38 -06:00
2016-10-19 08:39:47 -07:00
2016-10-19 08:11:43 -07:00
2016-10-28 08:25:18 -04:00
2016-10-21 22:24:23 +02:00
2016-10-24 19:52:24 -07:00
2016-10-23 15:56:23 -07:00