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 <[email protected]>
---
 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 <[email protected]>
  */
 #include <linux/clk.h>
+#include <linux/kernel.h>
 #include <linux/err.h>
 #include <linux/hdmi.h>
 #include <i2c/i2c.h>
-- 
2.39.5


Reply via email to