diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2014-11-10 12:28:31 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-11-14 14:54:08 -0500 |
commit | 27ffaeb0ab160852c87e2dfa505594020e9a3a06 (patch) | |
tree | 2cd571bc21a1e3deedefc762a73a58f755fa3d03 /arch/arm/mach-shmobile | |
parent | 43ba464182cd7f9e8089e3d76af8ef265ff287dd (diff) |
[media] platform: Make use of media_bus_format enum
In order to have subsytem agnostic media bus format definitions we've
moved media bus definition to include/uapi/linux/media-bus-format.h and
prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT.
Reference new definitions in all platform drivers.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Sekhar Nori <nsekhar@ti.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>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index ca5d34b92aa7..a673624878d1 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -1153,7 +1153,7 @@ static struct soc_camera_platform_info camera_info = { | |||
1153 | .format_name = "UYVY", | 1153 | .format_name = "UYVY", |
1154 | .format_depth = 16, | 1154 | .format_depth = 16, |
1155 | .format = { | 1155 | .format = { |
1156 | .code = V4L2_MBUS_FMT_UYVY8_2X8, | 1156 | .code = MEDIA_BUS_FMT_UYVY8_2X8, |
1157 | .colorspace = V4L2_COLORSPACE_SMPTE170M, | 1157 | .colorspace = V4L2_COLORSPACE_SMPTE170M, |
1158 | .field = V4L2_FIELD_NONE, | 1158 | .field = V4L2_FIELD_NONE, |
1159 | .width = 640, | 1159 | .width = 640, |