Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753838AbdLMTmm (ORCPT ); Wed, 13 Dec 2017 14:42:42 -0500 Received: from mga11.intel.com ([192.55.52.93]:57175 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753360AbdLMTmh (ORCPT ); Wed, 13 Dec 2017 14:42:37 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,398,1508828400"; d="scan'208";a="17979628" Date: Wed, 13 Dec 2017 19:37:50 +0800 From: kbuild test robot To: =?iso-8859-1?Q?Myl=E8ne?= Josserand Cc: kbuild-all@01.org, dmitry.torokhov@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, mylene.josserand@free-electrons.com, thomas.petazzoni@free-electrons.com, maxime.ripard@free-electrons.com Subject: [RFC PATCH] Input: hid_cmd_state can be static Message-ID: <20171213113750.GA51727@ivb43.lkp.intel.com> References: <20171201153957.13053-2-mylene.josserand@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171201153957.13053-2-mylene.josserand@free-electrons.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 697 Lines: 20 Fixes: 68d0bd1e4815 ("Input: Add driver for Cypress Generation 5 touchscreen") Signed-off-by: Fengguang Wu --- 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 */