Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1490558
| From | Baoyou Xie <baoyou.xie@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] [media] coda: add missing header dependencies |
| Date | 2016-09-24 07:30 +0200 |
| Message-ID | <skNHc-5m9-23@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
We get 1 warning when building kernel with W=1:
drivers/media/platform/coda/coda-h264.c:21:5: warning: no previous prototype for 'coda_h264_padding' [-Wmissing-prototypes]
In fact, this function is declared in drivers/media/platform/coda/coda.h,
so this patch adds missing header dependencies.
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
---
drivers/media/platform/coda/coda-h264.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/coda/coda-h264.c b/drivers/media/platform/coda/coda-h264.c
index 456773a..6d6f555 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 };
--
2.7.4
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] [media] coda: add missing header dependencies Baoyou Xie <baoyou.xie@linaro.org> - 2016-09-24 07:30 +0200
csiph-web