]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
media: i2c: adv748x: select V4L2_FWNODE
authorArnd Bergmann <arnd@arndb.de>
Tue, 5 Mar 2019 13:23:13 +0000 (08:23 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 19 Mar 2019 20:35:09 +0000 (16:35 -0400)
Building adv748x fails now unless V4L2_FWNODE is selected:

drivers/media/i2c/adv748x/adv748x-core.o: In function `adv748x_probe':
adv748x-core.c:(.text+0x1b2c): undefined reference to `v4l2_fwnode_endpoint_parse'

Fixes: 6a18865da8e3 ("media: i2c: adv748x: store number of CSI-2 lanes described in device tree")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/Kconfig

index 6d32f8dcf83b2a38d4f66ebadda3287040163f74..3f5dd80e14f8534efded6690c2b1cfca7c0a342f 100644 (file)
@@ -221,6 +221,7 @@ config VIDEO_ADV748X
        depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
        depends on OF
        select REGMAP_I2C
+       select V4L2_FWNODE
        ---help---
          V4L2 subdevice driver for the Analog Devices
          ADV7481 and ADV7482 HDMI/Analog video decoders.