[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 15:54:27 +0000 (12:54 -0300)
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 f4dd32df235358b35e53e4fecdf3c6b8568037b7..232648156773da5fdeb2e3ef64aaae2c9e2e2d12 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  */