summaryrefslogtreecommitdiff
path: root/include/linux/v4l2-common.h
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@iki.fi>2012-07-30 05:08:47 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-31 00:32:28 -0300
commit660e22c7b008f1b21283cc2d786b2dd7c7790440 (patch)
treeece944f3f8895fc9d5b2f86fc638d8ac4faad58e /include/linux/v4l2-common.h
parent076f0e359e308dae67821196f56d36d6648f9086 (diff)
downloadlwn-660e22c7b008f1b21283cc2d786b2dd7c7790440.tar.gz
lwn-660e22c7b008f1b21283cc2d786b2dd7c7790440.zip
[media] v4l: Add missing compatibility definitions for bounds rectangles
Compatibility defines for ACTUAL subdev selection rectangles were added and also the name of the BOUNDS rectangles was changed in the process, which, alas, went unnoticed until now. Add compatibility definitions for these rectangles. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux/v4l2-common.h')
-rw-r--r--include/linux/v4l2-common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/v4l2-common.h b/include/linux/v4l2-common.h
index 0fa8b64c3cdb..4f0667e010dd 100644
--- a/include/linux/v4l2-common.h
+++ b/include/linux/v4l2-common.h
@@ -53,10 +53,10 @@
/* Backward compatibility target definitions --- to be removed. */
#define V4L2_SEL_TGT_CROP_ACTIVE V4L2_SEL_TGT_CROP
#define V4L2_SEL_TGT_COMPOSE_ACTIVE V4L2_SEL_TGT_COMPOSE
-#define V4L2_SUBDEV_SEL_TGT_CROP_ACTUAL \
- V4L2_SEL_TGT_CROP
-#define V4L2_SUBDEV_SEL_TGT_COMPOSE_ACTUAL \
- V4L2_SEL_TGT_COMPOSE
+#define V4L2_SUBDEV_SEL_TGT_CROP_ACTUAL V4L2_SEL_TGT_CROP
+#define V4L2_SUBDEV_SEL_TGT_COMPOSE_ACTUAL V4L2_SEL_TGT_COMPOSE
+#define V4L2_SUBDEV_SEL_TGT_CROP_BOUNDS V4L2_SEL_TGT_CROP_BOUNDS
+#define V4L2_SUBDEV_SEL_TGT_COMPOSE_BOUNDS V4L2_SEL_TGT_COMPOSE_BOUNDS
/* Selection flags */
#define V4L2_SEL_FLAG_GE (1 << 0)