]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[media] v4l2: Add private controls base for SI476X
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Wed, 27 Mar 2013 01:47:25 +0000 (22:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 29 Mar 2013 12:24:59 +0000 (09:24 -0300)
Add a base to be used for allocation of all the SI476X specific
controls in the corresponding driver.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/uapi/linux/v4l2-controls.h

index 7d2604877a73f20b3be26c0485cfe95989a41386..910d7cd3d9f4e93eae0f50bf8677ab55fc7a0735 100644 (file)
@@ -156,6 +156,10 @@ enum v4l2_colorfx {
  * We reserve 8 controls for this driver. */
 #define V4L2_CID_USER_S2255_BASE               (V4L2_CID_USER_BASE + 0x1010)
 
+/* The base for the si476x driver controls. See include/media/si476x.h for the list
+ * of controls. Total of 16 controls is reserved for that driver */
+#define V4L2_CID_USER_SI476X_BASE              (V4L2_CID_USER_BASE + 0x1010)
+
 /* MPEG-class control IDs */
 
 #define V4L2_CID_MPEG_BASE                     (V4L2_CTRL_CLASS_MPEG | 0x900)