media: ov13858: select V4L2_FWNODE
PATCH 1/1 media: ov13858: select V4L2_FWNODE
v4l2_async_register_subdev_sensor_common() is only provided when CONFIG_V4L2_FWNODE is enabled, otherwise we get a link failure:
drivers/media/i2c/ov13858.o: In function `ov13858_probe':
ov13858.c:(.text+0xf74): undefined reference to `v4l2_async_register_subdev_sensor_common'
This adds a Kconfig 'select' statement like all the other users of this interface have.
---
This is the same patch I submitted for et8ek8 earlier. Both are needed for 4.15.
--- drivers/media/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/media/i2c/Kconfig +1 -0
@@ -676,6 +676,7 @@ config VIDEO_OV13858 tristate "OmniVision OV13858 sensor support" depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on MEDIA_CAMERA_SUPPORT + select V4L2_FWNODE ---help--- This is a Video4Linux2 sensor-level driver for the OmniVision OV13858 camera.
Signature · 1 line
2.9.0
Quoted 6 lines · Arnd Bergmann
v4l2_async_register_subdev_sensor_common()is only provided whenCONFIG_V4L2_FWNODEis enabled, otherwise we get a link failure:
drivers/media/i2c/ov13858.o: In function `ov13858_probe':
ov13858.c:(.text+0xf74): undefined reference to `v4l2_async_register_subdev_sensor_common'
Quoted 8 lines
This adds a
Kconfig'select' statement like all the other users of this interface have.Fixes 2e8a9fbb7950 ("media: ov13858: Add support for flash and lens devices")Signed-off-by Arnd Bergmann <[email protected]>---
This is the same patch I submitted for et8ek8 earlier. Both are needed for 4.15.
Hi Arnd,
Thanks for the patch. There's already a patch with the same change queued up, so I'll use that instead.
Signature · 2 lines
Sakari Ailus e-mail: [email protected]