diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-09-02 17:57:34 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-09-02 17:57:34 -0300 |
commit | 96ec7d2a6632d0757e2b83bd75c5784d4cc4a456 (patch) | |
tree | 842b1e0ee3460b047d8fd3cbf3e7e2b85839ce89 /drivers/media/platform | |
parent | 077af28c639be01d50e607754a84a3fada09ae9c (diff) |
[media] vivid: add some missing headers
That remove a few warnings:
drivers/media/platform/vivid/vivid-kthread-out.c:226:5: warning: no previous prototype for 'vivid_start_generating_vid_out' [-Wmissing-prototypes]
int vivid_start_generating_vid_out(struct vivid_dev *dev, bool *pstreaming)
^
drivers/media/platform/vivid/vivid-kthread-out.c:260:6: warning: no previous prototype for 'vivid_stop_generating_vid_out' [-Wmissing-prototypes]
void vivid_stop_generating_vid_out(struct vivid_dev *dev, bool *pstreaming)
^
drivers/media/platform/vivid/vivid-kthread-cap.c:806:5: warning: no previous prototype for 'vivid_start_generating_vid_cap' [-Wmissing-prototypes]
int vivid_start_generating_vid_cap(struct vivid_dev *dev, bool *pstreaming)
^
drivers/media/platform/vivid/vivid-kthread-cap.c:841:6: warning: no previous prototype for 'vivid_stop_generating_vid_cap' [-Wmissing-prototypes]
void vivid_stop_generating_vid_cap(struct vivid_dev *dev, bool *pstreaming)
^
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r-- | drivers/media/platform/vivid/vivid-kthread-cap.c | 1 | ||||
-rw-r--r-- | drivers/media/platform/vivid/vivid-kthread-out.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/vivid/vivid-kthread-cap.c b/drivers/media/platform/vivid/vivid-kthread-cap.c index 33ab1dfe81c7..39a67cfae120 100644 --- a/drivers/media/platform/vivid/vivid-kthread-cap.c +++ b/drivers/media/platform/vivid/vivid-kthread-cap.c @@ -49,6 +49,7 @@ #include "vivid-vbi-out.h" #include "vivid-osd.h" #include "vivid-ctrls.h" +#include "vivid-kthread-cap.h" static inline v4l2_std_id vivid_get_std_cap(const struct vivid_dev *dev) { diff --git a/drivers/media/platform/vivid/vivid-kthread-out.c b/drivers/media/platform/vivid/vivid-kthread-out.c index 190575577948..d9f36ccd7efb 100644 --- a/drivers/media/platform/vivid/vivid-kthread-out.c +++ b/drivers/media/platform/vivid/vivid-kthread-out.c @@ -49,6 +49,7 @@ #include "vivid-vbi-out.h" #include "vivid-osd.h" #include "vivid-ctrls.h" +#include "vivid-kthread-out.h" static void vivid_thread_vid_out_tick(struct vivid_dev *dev) { |