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 dd72bed..d20d432 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;