]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iio: light: al3010: add missing REGMAP_I2C to Kconfig
authorJoshua Crofts <joshua.crofts1@gmail.com>
Thu, 25 Jun 2026 19:38:09 +0000 (21:38 +0200)
committerJonathan Cameron <jic23@kernel.org>
Wed, 1 Jul 2026 01:10:37 +0000 (02:10 +0100)
The KConfig entry for the AL3010 is missing a `select REGMAP_I2C`,
causing build failures.

Fixes: 0e5e21e23dd6 ("iio: light: al3010: Implement regmap support")
Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Reviewed-by: David Heidelberg <david@ixit.cz>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/Kconfig

index a339205689046ea7e23d7ec2dacc3cc1f9eb5f97..4ba3151ebea753486c45744b685df14698f237c4 100644 (file)
@@ -56,6 +56,7 @@ config AL3000A
 
 config AL3010
        tristate "AL3010 ambient light sensor"
+       select REGMAP_I2C
        depends on I2C
        help
          Say Y here if you want to build a driver for the Dyna Image AL3010