[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171213113750.GA51727@ivb43.lkp.intel.com>
Date: Wed, 13 Dec 2017 19:37:50 +0800
From: kbuild test robot <lkp@...el.com>
To: Mylène Josserand
<mylene.josserand@...e-electrons.com>
Cc: kbuild-all@...org, dmitry.torokhov@...il.com, robh+dt@...nel.org,
mark.rutland@....com, linux-kernel@...r.kernel.org,
linux-input@...r.kernel.org, devicetree@...r.kernel.org,
mylene.josserand@...e-electrons.com,
thomas.petazzoni@...e-electrons.com,
maxime.ripard@...e-electrons.com
Subject: [RFC PATCH] Input: hid_cmd_state can be static
Fixes: 68d0bd1e4815 ("Input: Add driver for Cypress Generation 5 touchscreen")
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
cyttsp5.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/touchscreen/cyttsp5.c b/drivers/input/touchscreen/cyttsp5.c
index a41feea..9694ae41 100644
--- a/drivers/input/touchscreen/cyttsp5.c
+++ b/drivers/input/touchscreen/cyttsp5.c
@@ -139,7 +139,7 @@ struct cyttsp5_sensing_conf_data {
u8 max_tch;
};
-enum { HID_CMD_DONE, HID_CMD_BUSY } hid_cmd_state;
+static enum { HID_CMD_DONE, HID_CMD_BUSY } hid_cmd_state;
enum cyttsp5_tch_abs { /* for ordering within the extracted touch data array */
CY_TCH_X, /* X */
Powered by blists - more mailing lists