iio:light:ltr501: fix regmap dependency
authorHartmut Knaack <knaack.h@gmx.de>
Sun, 28 Jun 2015 10:31:52 +0000 (12:31 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 5 Jul 2015 13:15:12 +0000 (14:15 +0100)
The use of regmap in commit 2f2c96338afc requires REGMAP_I2C to be selected, in
order to meet all dependencies.

Fixes: 2f2c96338afc ("iio: ltr501: Add regmap support.")
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/Kconfig

index df995a42d5f3f3a00a3dfd36eb2c7d9e12470d6a..a5c59251ec0e93b90eeefee7637556629a32ede6 100644 (file)
@@ -188,6 +188,7 @@ config SENSORS_LM3533
 config LTR501
        tristate "LTR-501ALS-01 light sensor"
        depends on I2C
+       select REGMAP_I2C
        select IIO_BUFFER
        select IIO_TRIGGERED_BUFFER
        help