OSDN Git Service

media: i2c: tda1997x: select V4L2_FWNODE
authorKoen Vandeputte <koen.vandeputte@ncentric.com>
Mon, 18 Mar 2019 16:40:05 +0000 (12:40 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 29 Mar 2019 11:38:50 +0000 (07:38 -0400)
Building tda1997x fails now unless V4L2_FWNODE is selected:

drivers/media/i2c/tda1997x.o: in function `tda1997x_parse_dt'
undefined reference to `v4l2_fwnode_endpoint_parse'

While at it, also sort the selections alphabetically

Fixes: 9ac0038db9a7 ("media: i2c: Add TDA1997x HDMI receiver driver")

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Cc: stable@vger.kernel.org # v4.17+
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/Kconfig

index 1a1746b..5f5c364 100644 (file)
@@ -60,8 +60,9 @@ config VIDEO_TDA1997X
        tristate "NXP TDA1997x HDMI receiver"
        depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
        depends on SND_SOC
-       select SND_PCM
        select HDMI
+       select SND_PCM
+       select V4L2_FWNODE
        help
          V4L2 subdevice driver for the NXP TDA1997x HDMI receivers.