video: make video/mipi_dsi.h header self-contained
PATCH 1/1 video: make video/mipi_dsi.h header self-contained
When we start compiling the MIPI-DSI code for sandbox allyesconfig, we will stumble upon ARRAY_SIZE not being defined, so anticipate this by including the relevant header.
Signed-off-by Ahmad Fatoum <[email protected]>
--- include/video/mipi_dsi.h | 1 + 1 file changed, 1 insertion(+)
include/video/mipi_dsi.h +1 -0
@@ -17,6 +17,7 @@#include <video/mipi_display.h> #include <linux/container_of.h> +#include <linux/array_size.h> #include <linux/bitops.h> #include <linux/device.h> #include <linux/errno.h>
Signature · 1 line
2.47.3
Sascha Hauer
AppliedQuoted 5 lines · Ahmad Fatoum
When we start compiling the MIPI-DSI code for sandbox allyesconfig, we will stumble upon
ARRAY_SIZEnot being defined, so anticipate this by including the relevant header.
Applied, thanks!
[1/1] video: make video/mipi_dsi.h header self-contained
https://git.pengutronix.de/cgit/barebox/commit/?id=0a640e319a0a (link may not be stable)
Best regards,
Signature · 1 line
Sascha Hauer <[email protected]>