summaryrefslogtreecommitdiffstats
path: root/include/media/soc_mediabus.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-03-15 23:33:31 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 08:53:21 +0100
commit2ef2d5a336891ee38fee7c7ad2396e31ac9d8aaa (patch)
tree433db5b5d9a74a387b5d8ad12ae7f971e7f1a926 /include/media/soc_mediabus.h
parent[media] v4l: Make v4l2_subdev inherit from media_entity (diff)
downloadlinux-2ef2d5a336891ee38fee7c7ad2396e31ac9d8aaa.tar.xz
linux-2ef2d5a336891ee38fee7c7ad2396e31ac9d8aaa.zip
[media] v4l: Move the media/v4l2-mediabus.h header to include/linux
The header defines the v4l2_mbus_framefmt structure which will be used by the V4L2 subdevs userspace API. Change the type of the v4l2_mbus_framefmt::code field to __u32, as enum sizes can differ between different ABIs on the same architectures. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/soc_mediabus.h')
-rw-r--r--include/media/soc_mediabus.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/media/soc_mediabus.h b/include/media/soc_mediabus.h
index f5522b3f175a..b338108ec305 100644
--- a/include/media/soc_mediabus.h
+++ b/include/media/soc_mediabus.h
@@ -12,8 +12,7 @@
#define SOC_MEDIABUS_H
#include <linux/videodev2.h>
-
-#include <media/v4l2-mediabus.h>
+#include <linux/v4l2-mediabus.h>
/**
* enum soc_mbus_packing - data packing types on the media-bus