upstream: [media] staging: media: omap24xx: fix up checkpatch error message
authorVitaly Osipov <vitaly.osipov@gmail.com>
Thu, 10 Apr 2014 09:01:50 +0000 (06:01 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:59 +0000 (14:26 +0900)
tcm825x.c:

fixing ERROR: Macros with complex values should be enclosed in parenthesis

Signed-off-by: Vitaly Osipov <vitaly.osipov@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/omap24xx/tcm825x.c

index f4dd32d..2326481 100644 (file)
@@ -89,10 +89,10 @@ static const struct tcm825x_reg rgb565      =       { 0x02, TCM825X_PICFMT };
 
 /* Our own specific controls */
 #define V4L2_CID_ALC                           V4L2_CID_PRIVATE_BASE
-#define V4L2_CID_H_EDGE_EN                     V4L2_CID_PRIVATE_BASE + 1
-#define V4L2_CID_V_EDGE_EN                     V4L2_CID_PRIVATE_BASE + 2
-#define V4L2_CID_LENS                          V4L2_CID_PRIVATE_BASE + 3
-#define V4L2_CID_MAX_EXPOSURE_TIME             V4L2_CID_PRIVATE_BASE + 4
+#define V4L2_CID_H_EDGE_EN                     (V4L2_CID_PRIVATE_BASE + 1)
+#define V4L2_CID_V_EDGE_EN                     (V4L2_CID_PRIVATE_BASE + 2)
+#define V4L2_CID_LENS                          (V4L2_CID_PRIVATE_BASE + 3)
+#define V4L2_CID_MAX_EXPOSURE_TIME             (V4L2_CID_PRIVATE_BASE + 4)
 #define V4L2_CID_LAST_PRIV                     V4L2_CID_MAX_EXPOSURE_TIME
 
 /*  Video controls  */