]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[media] am437x: include linux/videodev2.h for expanding BASE_VIDIOC_PRIVATE
authorMasatake YAMATO <yamato@redhat.com>
Wed, 4 Mar 2015 20:13:24 +0000 (17:13 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 21:10:35 +0000 (18:10 -0300)
commit64bf8049a2ec1e61e1475eb02b5514d7061d443e
tree7865b2878768b142542399be7a5075c0187f00e0
parentff05cb4b81d81e997476dc6d2c18e884389b5196
[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: Masatake YAMATO <yamato@redhat.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
include/uapi/linux/am437x-vpfe.h