summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaoyou Xie <baoyou.xie@linaro.org>2016-09-06 09:50:56 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-10-24 21:02:27 +0200
commit06c24f6779ea863a9410c872c577d8ae986a4b60 (patch)
tree50eedf8afd60bb20802fe4b83c784ce014e52b8d
parent[media] cx24120: do not allow an invalid delivery system types (diff)
downloadlinux-06c24f6779ea863a9410c872c577d8ae986a4b60.tar.xz
linux-06c24f6779ea863a9410c872c577d8ae986a4b60.zip
[media] coda: add missing header dependencies
We get 1 warning when building kernel with W=1: drivers/media/platform/coda/coda-h264.c:22:5: warning: no previous prototype for 'coda_h264_padding' [-Wmissing-prototypes] In fact, this function is declared in coda.h, so this patch add missing header dependencies. Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
-rw-r--r--drivers/media/platform/coda/coda-h264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/coda/coda-h264.c b/drivers/media/platform/coda/coda-h264.c
index 456773af1f1d..09dfcca7cc50 100644
--- a/drivers/media/platform/coda/coda-h264.c
+++ b/drivers/media/platform/coda/coda-h264.c
@@ -13,6 +13,7 @@
#include <linux/kernel.h>
#include <linux/string.h>
+#include <coda.h>
static const u8 coda_filler_nal[14] = { 0x00, 0x00, 0x00, 0x01, 0x0c, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x80 };