mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] media: i2c/Kconfig: Select FWNODE for OV772x sensor
@ 2021-01-20  9:01 Lad Prabhakar
  2021-01-20  9:21 ` Jacopo Mondi
  2021-01-20 10:17 ` Kieran Bingham
  0 siblings, 2 replies; 7+ messages in thread
From: Lad Prabhakar @ 2021-01-20  9:01 UTC (permalink / raw)
  To: Sakari Ailus, Mauro Carvalho Chehab, Laurent Pinchart,
	Jacopo Mondi, linux-media
  Cc: linux-kernel, Biju Das, Prabhakar

Fix OV772x build breakage by selecting V4L2_FWNODE config:

ia64-linux-ld: drivers/media/i2c/ov772x.o: in function `ov772x_probe':
ov772x.c:(.text+0x1ee2): undefined reference to `v4l2_fwnode_endpoint_alloc_parse'
ia64-linux-ld: ov772x.c:(.text+0x1f12): undefined reference to `v4l2_fwnode_endpoint_free'
ia64-linux-ld: ov772x.c:(.text+0x2212): undefined reference to `v4l2_fwnode_endpoint_alloc_parse'

Fixes: 8a10b4e3601e ("media: i2c: ov772x: Parse endpoint properties")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 drivers/media/i2c/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index eddb10220953..bb1b5a340431 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -1013,6 +1013,7 @@ config VIDEO_OV772X
 	tristate "OmniVision OV772x sensor support"
 	depends on I2C && VIDEO_V4L2
 	select REGMAP_SCCB
+	select V4L2_FWNODE
 	help
 	  This is a Video4Linux2 sensor driver for the OmniVision
 	  OV772x camera.
-- 
2.17.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-01-20 12:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-20  9:01 [PATCH] media: i2c/Kconfig: Select FWNODE for OV772x sensor Lad Prabhakar
2021-01-20  9:21 ` Jacopo Mondi
2021-01-20 10:17 ` Kieran Bingham
2021-01-20 10:36   ` Sakari Ailus
2021-01-20 11:08     ` Lad, Prabhakar
2021-01-20 11:09     ` Kieran Bingham
2021-01-20 11:13       ` Lad, Prabhakar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®