[PATCH 2/2] fixup! video: add dw-hdmi driver

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Oct 14 03:46:44 PDT 2024


video: dw-hdmi: fix compile testing with CONFIG_SANDBOX

Building under sandbox results in an error message due to missing
definition of ARRAY_SIZE. Fix this by including the relevant header.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 drivers/video/dw-hdmi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/dw-hdmi.c b/drivers/video/dw-hdmi.c
index ac4f368f6369..73201836b7e5 100644
--- a/drivers/video/dw-hdmi.c
+++ b/drivers/video/dw-hdmi.c
@@ -7,6 +7,7 @@
  * Copyright (C) 2010, Guennadi Liakhovetski <g.liakhovetski at gmx.de>
  */
 #include <linux/clk.h>
+#include <linux/kernel.h>
 #include <linux/err.h>
 #include <linux/hdmi.h>
 #include <i2c/i2c.h>
-- 
2.39.5




More information about the barebox mailing list