| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 | 
							- From 237e88dcbcb0098e1a8a0887fb7299fcf18650a5 Mon Sep 17 00:00:00 2001
 
- From: Koen Vandeputte <[email protected]>
 
- Date: Mon, 18 Mar 2019 17:39:26 +0100
 
- Subject: [PATCH] media: i2c: tda1997x: select V4L2_FWNODE
 
- 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 <[email protected]>
 
- Cc: Akinobu Mita <[email protected]>
 
- Cc: Bingbu Cao <[email protected]>
 
- Cc: Hans Verkuil <[email protected]>
 
- Cc: Jacopo Mondi <[email protected]>
 
- Cc: Matt Ranostay <[email protected]>
 
- Cc: Mauro Carvalho Chehab <[email protected]>
 
- Cc: Robin Leblon <[email protected]>
 
- Cc: Rui Miguel Silva <[email protected]>
 
- Cc: Sakari Ailus <[email protected]>
 
- Cc: Tim Harvey <[email protected]>
 
- Cc: [email protected]
 
- Cc: [email protected] # v4.17+
 
- ---
 
-  drivers/media/i2c/Kconfig | 3 ++-
 
-  1 file changed, 2 insertions(+), 1 deletion(-)
 
- diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
 
- index 4c936e129500..8b296ae7d68c 100644
 
- --- a/drivers/media/i2c/Kconfig
 
- +++ b/drivers/media/i2c/Kconfig
 
- @@ -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.
 
-  
 
- -- 
 
- 2.17.1
 
 
  |