OSDN Git Service

staging: media: atomisp: select REGMAP_I2C needed by ap1302.c
authorJérémy Lefaure <jeremy.lefaure@lse.epita.fr>
Mon, 20 Mar 2017 14:40:50 +0000 (14:40 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Mar 2017 07:04:32 +0000 (08:04 +0100)
REGMAP_I2C should be enabled to build the driver ap1302 because it uses
regmap functions.

Signed-off-by: Jérémy Lefaure <jeremy.lefaure@lse.epita.fr>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/i2c/Kconfig

index 30b0bb9..b80d29d 100644 (file)
@@ -62,6 +62,7 @@ config VIDEO_MT9M114
 config VIDEO_AP1302
        tristate "AP1302 external ISP support"
        depends on I2C && VIDEO_V4L2
+       select REGMAP_I2C
        ---help---
          This is a Video4Linux2 sensor-level driver for the external
          ISP AP1302.