summaryrefslogtreecommitdiff
path: root/drivers/staging/fbtft/fb_pcd8544.c
diff options
context:
space:
mode:
authorMing Yang <minos.future@gmail.com>2016-07-18 02:13:18 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-21 15:52:47 (GMT)
commit1c41494adf7aa6c9ca309fcdc558d7fb47903538 (patch)
treecb75da5bc62483214ef824ed2353fe3f91624c94 /drivers/staging/fbtft/fb_pcd8544.c
parent175f5a4130b20e25b34d9f9b0bb4cfe80ee49d88 (diff)
downloadlinux-1c41494adf7aa6c9ca309fcdc558d7fb47903538.tar.xz
Staging: fbtft: fixed unsigned type warnings
Replace unsigned by unsigned int in fbtft driver. Issue found by checkpatch. Signed-off-by: Ming Yang <minos.future@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fbtft/fb_pcd8544.c')
-rw-r--r--drivers/staging/fbtft/fb_pcd8544.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/fbtft/fb_pcd8544.c b/drivers/staging/fbtft/fb_pcd8544.c
index a6b4332..a4710dc 100644
--- a/drivers/staging/fbtft/fb_pcd8544.c
+++ b/drivers/staging/fbtft/fb_pcd8544.c
@@ -32,11 +32,11 @@
#define TXBUFLEN (84 * 6)
#define DEFAULT_GAMMA "40" /* gamma controls the contrast in this driver */
-static unsigned tc;
+static unsigned int tc;
module_param(tc, uint, 0);
MODULE_PARM_DESC(tc, "TC[1:0] Temperature coefficient: 0-3 (default: 0)");
-static unsigned bs = 4;
+static unsigned int bs = 4;
module_param(bs, uint, 0);
MODULE_PARM_DESC(bs, "BS[2:0] Bias voltage level: 0-7 (default: 4)");