Commit 64bf8049 authored by Masatake YAMATO's avatar Masatake YAMATO Committed by Mauro Carvalho Chehab

[media] am437x: include linux/videodev2.h for expanding BASE_VIDIOC_PRIVATE

In am437x-vpfe.h BASE_VIDIOC_PRIVATE is used for
making the name of ioctl command(VIDIOC_AM437X_CCDC_CFG).
The definition of BASE_VIDIOC_PRIVATE is in linux/videodev2.h.
However, linux/videodev2.h is not included in am437x-vpfe.h.
As the result an application using has to include both
am437x-vpfe.h and linux/videodev2.h.

With this patch, the application can include just am437x-vpfe.h.
Signed-off-by: default avatarMasatake YAMATO <yamato@redhat.com>
Acked-by: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent ff05cb4b
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
#ifndef AM437X_VPFE_USER_H #ifndef AM437X_VPFE_USER_H
#define AM437X_VPFE_USER_H #define AM437X_VPFE_USER_H
#include <linux/videodev2.h>
enum vpfe_ccdc_data_size { enum vpfe_ccdc_data_size {
VPFE_CCDC_DATA_16BITS = 0, VPFE_CCDC_DATA_16BITS = 0,
VPFE_CCDC_DATA_15BITS, VPFE_CCDC_DATA_15BITS,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment