diff mbox series

[-next] media: isl7998x: select V4L2_FWNODE to fix build error

Message ID 20220330015652.5420-1-rdunlap@infradead.org (mailing list archive)
State New, archived
Headers show
Series [-next] media: isl7998x: select V4L2_FWNODE to fix build error | expand

Commit Message

Randy Dunlap March 30, 2022, 1:56 a.m. UTC
Fix build error when VIDEO_ISL7998X=y and V4L2_FWNODE=m
by selecting V4L2_FWNODE.

microblaze-linux-ld: drivers/media/i2c/isl7998x.o: in function `isl7998x_probe':
(.text+0x8f4): undefined reference to `v4l2_fwnode_endpoint_parse'

Fixes: 51ef2be546e2 ("media: i2c: isl7998x: Add driver for Intersil ISL7998x")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Michael Tretter <m.tretter@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: linux-media@vger.kernel.org
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
---
 drivers/media/i2c/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Comments

Michael Tretter March 30, 2022, 6:52 a.m. UTC | #1
On Tue, 29 Mar 2022 18:56:52 -0700, Randy Dunlap wrote:
> Fix build error when VIDEO_ISL7998X=y and V4L2_FWNODE=m
> by selecting V4L2_FWNODE.
> 
> microblaze-linux-ld: drivers/media/i2c/isl7998x.o: in function `isl7998x_probe':
> (.text+0x8f4): undefined reference to `v4l2_fwnode_endpoint_parse'
> 
> Fixes: 51ef2be546e2 ("media: i2c: isl7998x: Add driver for Intersil ISL7998x")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Reported-by: kernel test robot <lkp@intel.com>
> Cc: Marek Vasut <marex@denx.de>
> Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
> Cc: Michael Tretter <m.tretter@pengutronix.de>
> Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
> Cc: linux-media@vger.kernel.org
> Cc: Mauro Carvalho Chehab <mchehab@kernel.org>

Reviewed-by: Michael Tretter <m.tretter@pengutronix.de>

> ---
>  drivers/media/i2c/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- linux-next-20220329.orig/drivers/media/i2c/Kconfig
> +++ linux-next-20220329/drivers/media/i2c/Kconfig
> @@ -1177,6 +1177,7 @@ config VIDEO_ISL7998X
>  	depends on OF_GPIO
>  	select MEDIA_CONTROLLER
>  	select VIDEO_V4L2_SUBDEV_API
> +	select V4L2_FWNODE
>  	help
>  	  Support for Intersil ISL7998x analog to MIPI-CSI2 or
>  	  BT.656 decoder.
>
diff mbox series

Patch

--- linux-next-20220329.orig/drivers/media/i2c/Kconfig
+++ linux-next-20220329/drivers/media/i2c/Kconfig
@@ -1177,6 +1177,7 @@  config VIDEO_ISL7998X
 	depends on OF_GPIO
 	select MEDIA_CONTROLLER
 	select VIDEO_V4L2_SUBDEV_API
+	select V4L2_FWNODE
 	help
 	  Support for Intersil ISL7998x analog to MIPI-CSI2 or
 	  BT.656 decoder.