ipu3: add missing #include
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 7 Jan 2019 18:08:30 +0000 (13:08 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 7 Jan 2019 18:08:30 +0000 (13:08 -0500)
Lots of warning due to non-static functions are generated because
the headers with define them were not included.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/ipu3/ipu3-css-params.c
drivers/staging/media/ipu3/ipu3-dmamap.c

index 776206ded83bf08e2a8ad012c2679bad60e765ef..053edce54b71ccd566c6b94538dd8eadadd23512 100644 (file)
@@ -6,6 +6,7 @@
 #include "ipu3-css.h"
 #include "ipu3-css-fw.h"
 #include "ipu3-tables.h"
+#include "ipu3-css-params.h"
 
 #define DIV_ROUND_CLOSEST_DOWN(a, b)   (((a) + ((b) / 2) - 1) / (b))
 #define roundclosest_down(a, b)                (DIV_ROUND_CLOSEST_DOWN(a, b) * (b))
index 93a393d4e15e56448b17553280acdb8c26072611..5bed01d5b8dfa125b76109b5ccbf21ee8832f34e 100644 (file)
@@ -12,6 +12,7 @@
 #include "ipu3.h"
 #include "ipu3-css-pool.h"
 #include "ipu3-mmu.h"
+#include "ipu3-dmamap.h"
 
 /*
  * Free a buffer allocated by ipu3_dmamap_alloc_buffer()