aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/fbtft
diff options
context:
space:
mode:
authorHeba Aamer <heba93aamer@gmail.com>2015-01-27 22:39:56 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-28 11:27:21 -0800
commit8ccf155386e670a3c6620510a4a3cb00fa76cd76 (patch)
treed047e8c58858047d09ff29a993fa7eb014cbe4c6 /drivers/staging/fbtft
parentstaging: fbtft: fix spaces required around that '<' (diff)
downloadlinux-dev-8ccf155386e670a3c6620510a4a3cb00fa76cd76.tar.xz
linux-dev-8ccf155386e670a3c6620510a4a3cb00fa76cd76.zip
staging: fbtft: fix Macros with complex values should be enclosed in parentheses
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>
Diffstat (limited to 'drivers/staging/fbtft')
-rw-r--r--drivers/staging/fbtft/fb_pcd8544.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fbtft/fb_pcd8544.c b/drivers/staging/fbtft/fb_pcd8544.c
index dd72bedc6a00..d20d432745d5 100644
--- a/drivers/staging/fbtft/fb_pcd8544.c
+++ b/drivers/staging/fbtft/fb_pcd8544.c
@@ -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;