From patchwork Tue Apr 25 06:27:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 9697561 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 81513601D3 for ; Tue, 25 Apr 2017 06:27:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 74E7620881 for ; Tue, 25 Apr 2017 06:27:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 68F5126419; Tue, 25 Apr 2017 06:27:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8E3BD20881 for ; Tue, 25 Apr 2017 06:27:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S980631AbdDYG1L (ORCPT ); Tue, 25 Apr 2017 02:27:11 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:35957 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S980608AbdDYG1K (ORCPT ); Tue, 25 Apr 2017 02:27:10 -0400 Received: by mail-pf0-f195.google.com with SMTP id v14so6917320pfd.3 for ; Mon, 24 Apr 2017 23:27:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=f+qESfvxe7N37nQHt6gKKj64XppS2GbvuxdEZW1qABU=; b=Y9WDZ/v/12lGYb69AKc+Z69dTfLNJ/0LC9LPhoYg1xarMfFz05uU+ZpN7/l5N0IHKR L7In3SCyGaDKXtIjoPGzybgDg4+bK1caIDtfS9c2zRaBAR6BfQ2lhROgubUJ3Bt9z0gF UmhEARNcM5X3XuBA5/Y/0QIhZ5XVKV0epqlhYcrABaAZ/K7YaSoAHMP53yRpevZDram3 NLduJSEwcZJ/esEJfpk+3Hd4ZCwSS6KonuKWxIM8hM+E99d6lC3Ycw/tCjDd0YFkmC5O 0xMImoSiQkREi4PrsqyRhikOG1XXz02DQ0xkcKLW3z3vS9ceFBtBNYf7J9upz7ULhoza l1vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=f+qESfvxe7N37nQHt6gKKj64XppS2GbvuxdEZW1qABU=; b=rM58OhcQ9O/V8lzt7n+uzwOeYPEQnNQwYEEHeTSSWYRLR9a4qEkE4KbyFSrO6sOHrU 3QLQc1ZjxY6AAGn29PqgiWxNXjE/M6KPhYetZ23f5f5JEICIegIZMVxO0KpKu7KLh1Tc YTraYW1J7RTQomTYgC4Uodikq09tfTIItTGajFo6xRrg3i8dIB1QzuKhz596JvA2DhF2 LGL9Px8jiXpJD8HSO+jC4XpcbkBTAJspEcqZNJjP96tK21I94eHglRlrOAMJFc5Qh1+1 ESKzojUWPTP7/7v0w0QXwsk3K43zgPVb9d0+KS2RtwAzPvB6gJJusImfVUoYiypTizBf M/6A== X-Gm-Message-State: AN3rC/5zjo9p6sDfmVaxWcg9AVTARhHmkV3tipnU/IlXpsOX14qVwV4q vYNMg8e1837FZw== X-Received: by 10.99.44.209 with SMTP id s200mr27441792pgs.25.1493101629768; Mon, 24 Apr 2017 23:27:09 -0700 (PDT) Received: from localhost.localdomain.localdomain (ec2-52-192-197-227.ap-northeast-1.compute.amazonaws.com. [52.192.197.227]) by smtp.gmail.com with ESMTPSA id m4sm34179040pgm.25.2017.04.24.23.27.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Apr 2017 23:27:09 -0700 (PDT) From: Wei Yongjun To: Dmitry Torokhov , Marek Vasut , Lee Jones , Ksenija Stanojevic Cc: Wei Yongjun , linux-input@vger.kernel.org Subject: [PATCH -next] input: touchscreen: mxs-lradc: Make symbol mxs_lradc_ts_irq_names static Date: Tue, 25 Apr 2017 06:27:04 +0000 Message-Id: <20170425062704.26222-1-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.9.3 MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wei Yongjun Fixes the following sparse warning: drivers/input/touchscreen/mxs-lradc-ts.c:33:12: warning: symbol 'mxs_lradc_ts_irq_names' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- drivers/input/touchscreen/mxs-lradc-ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/input/touchscreen/mxs-lradc-ts.c b/drivers/input/touchscreen/mxs-lradc-ts.c index 4b4aebf..603ac5a 100644 --- a/drivers/input/touchscreen/mxs-lradc-ts.c +++ b/drivers/input/touchscreen/mxs-lradc-ts.c @@ -30,7 +30,7 @@ #include #include -const char *mxs_lradc_ts_irq_names[] = { +static const char *mxs_lradc_ts_irq_names[] = { "mxs-lradc-touchscreen", "mxs-lradc-channel6", "mxs-lradc-channel7",