staging: fbtft: fix Macros with complex values should be enclosed in parentheses
authorHeba Aamer <heba93aamer@gmail.com>
Tue, 27 Jan 2015 20:39:56 +0000 (22:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Jan 2015 19:27:21 +0000 (11:27 -0800)
This patch fixes the following checkpatch.pl error:
fix Macros with complex values should be enclosed in parentheses

Signed-off-by: Heba Aamer <heba93aamer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fb_pcd8544.c

index dd72bedc6a00e5adf7e12c0e5d65ecb41ce654c3..d20d432745d5622154eb15e1b599e251a986acc5 100644 (file)
@@ -33,7 +33,7 @@
 #define DRVNAME               "fb_pcd8544"
 #define WIDTH          84
 #define HEIGHT         48
-#define TXBUFLEN       84*6
+#define TXBUFLEN       (84*6)
 #define DEFAULT_GAMMA  "40" /* gamma is used to control contrast in this driver */
 
 static unsigned tc = 0;