Commit 6de18fa3 authored by Ian Kumlien's avatar Ian Kumlien Committed by Mauro Carvalho Chehab

media: Fix build failure due to missing select REGMAP_I2C

While upgrading from 5.5.2 -> 5.5.6 I was surprised by:
ld: drivers/media/i2c/tvp5150.o: in function `tvp5150_probe':
tvp5150.c:(.text+0x11ac): undefined reference to
`__devm_regmap_init_i2c'
make: *** [Makefile:1078: vmlinux] Error 1

The fix was quick enough, make VIDEO_TVP5150 select REGMAP_I2C
And a quick grep showed that it was needed by more targets.
Signed-off-by: default avatarIan Kumlien <ian.kumlien@gmail.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 430f35b7
...@@ -238,6 +238,7 @@ config VIDEO_ADV7604 ...@@ -238,6 +238,7 @@ config VIDEO_ADV7604
tristate "Analog Devices ADV7604 decoder" tristate "Analog Devices ADV7604 decoder"
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
depends on GPIOLIB || COMPILE_TEST depends on GPIOLIB || COMPILE_TEST
select REGMAP_I2C
select HDMI select HDMI
select V4L2_FWNODE select V4L2_FWNODE
help help
...@@ -379,6 +380,7 @@ config VIDEO_TVP5150 ...@@ -379,6 +380,7 @@ config VIDEO_TVP5150
tristate "Texas Instruments TVP5150 video decoder" tristate "Texas Instruments TVP5150 video decoder"
depends on VIDEO_V4L2 && I2C depends on VIDEO_V4L2 && I2C
select V4L2_FWNODE select V4L2_FWNODE
select REGMAP_I2C
help help
Support for the Texas Instruments TVP5150 video decoder. Support for the Texas Instruments TVP5150 video decoder.
...@@ -584,6 +586,7 @@ config VIDEO_IMX214 ...@@ -584,6 +586,7 @@ config VIDEO_IMX214
tristate "Sony IMX214 sensor support" tristate "Sony IMX214 sensor support"
depends on GPIOLIB && I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on GPIOLIB && I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
depends on V4L2_FWNODE depends on V4L2_FWNODE
select REGMAP_I2C
help help
This is a Video4Linux2 sensor driver for the Sony This is a Video4Linux2 sensor driver for the Sony
IMX214 camera. IMX214 camera.
...@@ -623,6 +626,7 @@ config VIDEO_IMX274 ...@@ -623,6 +626,7 @@ config VIDEO_IMX274
config VIDEO_IMX290 config VIDEO_IMX290
tristate "Sony IMX290 sensor support" tristate "Sony IMX290 sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
select REGMAP_I2C
select V4L2_FWNODE select V4L2_FWNODE
help help
This is a Video4Linux2 sensor driver for the Sony This is a Video4Linux2 sensor driver for the Sony
...@@ -815,6 +819,7 @@ config VIDEO_OV7670 ...@@ -815,6 +819,7 @@ config VIDEO_OV7670
config VIDEO_OV7740 config VIDEO_OV7740
tristate "OmniVision OV7740 sensor support" tristate "OmniVision OV7740 sensor support"
depends on I2C && VIDEO_V4L2 depends on I2C && VIDEO_V4L2
select REGMAP_I2C
help help
This is a Video4Linux2 sensor driver for the OmniVision This is a Video4Linux2 sensor driver for the OmniVision
OV7740 VGA camera sensor. OV7740 VGA camera sensor.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment