diff options
| author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2014-11-10 12:28:26 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-11-14 14:47:47 -0500 |
| commit | edcf58bc031e621f519c9dfce3c7e1ea6880c70a (patch) | |
| tree | b4501cd616c00412d1403181ac62d1d67cbe41bb /include/uapi/linux/Kbuild | |
| parent | 698f6260b886291e14706c57daec2e1560d59af5 (diff) | |
[media] Move mediabus format definition to a more standard place
Define MEDIA_BUS_FMT macros (re-using the values defined in the
v4l2_mbus_pixelcode enum) into a separate header file so that they can be
used from the DRM/KMS subsystem without any reference to the V4L2
subsystem.
Then set V4L2_MBUS_FMT definitions to the MEDIA_BUS_FMT values using the
V4L2_MBUS_FROM_MEDIA_BUS_FMT macro.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/uapi/linux/Kbuild')
| -rw-r--r-- | include/uapi/linux/Kbuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild index b70237e8bc37..ed39ac84c0f4 100644 --- a/include/uapi/linux/Kbuild +++ b/include/uapi/linux/Kbuild | |||
| @@ -241,6 +241,7 @@ header-y += map_to_7segment.h | |||
| 241 | header-y += matroxfb.h | 241 | header-y += matroxfb.h |
| 242 | header-y += mdio.h | 242 | header-y += mdio.h |
| 243 | header-y += media.h | 243 | header-y += media.h |
| 244 | header-y += media-bus-format.h | ||
| 244 | header-y += mei.h | 245 | header-y += mei.h |
| 245 | header-y += memfd.h | 246 | header-y += memfd.h |
| 246 | header-y += mempolicy.h | 247 | header-y += mempolicy.h |
