ipu3: add missing #include

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>
This commit is contained in:
Mauro Carvalho Chehab 2019-01-07 13:08:30 -05:00
parent bfeffd1552
commit 5f5b4fa522
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@
#include "ipu3-css.h" #include "ipu3-css.h"
#include "ipu3-css-fw.h" #include "ipu3-css-fw.h"
#include "ipu3-tables.h" #include "ipu3-tables.h"
#include "ipu3-css-params.h"
#define DIV_ROUND_CLOSEST_DOWN(a, b) (((a) + ((b) / 2) - 1) / (b)) #define DIV_ROUND_CLOSEST_DOWN(a, b) (((a) + ((b) / 2) - 1) / (b))
#define roundclosest_down(a, b) (DIV_ROUND_CLOSEST_DOWN(a, b) * (b)) #define roundclosest_down(a, b) (DIV_ROUND_CLOSEST_DOWN(a, b) * (b))

View File

@ -12,6 +12,7 @@
#include "ipu3.h" #include "ipu3.h"
#include "ipu3-css-pool.h" #include "ipu3-css-pool.h"
#include "ipu3-mmu.h" #include "ipu3-mmu.h"
#include "ipu3-dmamap.h"
/* /*
* Free a buffer allocated by ipu3_dmamap_alloc_buffer() * Free a buffer allocated by ipu3_dmamap_alloc_buffer()