Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp726310pxb; Tue, 29 Mar 2022 09:58:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxSOOv7P9wjZ9b8l6OlzOxfTL6EUlfc+sJ0dRfiN85U5mxKQchahuRjHd1ksUAmKpliGfd X-Received: by 2002:aa7:d543:0:b0:416:13eb:6fec with SMTP id u3-20020aa7d543000000b0041613eb6fecmr5809521edr.348.1648573106116; Tue, 29 Mar 2022 09:58:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648573106; cv=none; d=google.com; s=arc-20160816; b=ahX9TuhOg6JShvh8oE6P4UgYfvldGajBmHkRL1nMmqQH2h/kJMTWHpsevBdm+jSEAq NPdjIccWJysyftCuUXUkyw1RPBhsZ6Nt3yRqTxANL2k1KktOtQZTaBY2v2sonknZf38b wVFKdJBDwLi7pm2QryzOr8cvl990Izc+MrXkyR2X6uowq87lcac+0i5R/l2FS/ecOazu UlaBMMxpYOXmlu/tG1CZp/JIlucl4CDPsoRs8BA/ARdOhFknJHWc/Udy2788s5DDSpoG khfRtvy383DCNzcf/rhxFpQeOcKEFmTCyT0zOKyxCPXwOnk8UeXqwtnVwIbxXxPuovJT Aj7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=6KQk2L9RmYxofGMLf+yZVFMhobkU7RAQxEzg3kgy9nY=; b=m/q2qn9xLOLiB2cw8mfv9OWxO9nyU0jPdmg6Es3XvMIw6bba02zCVav+zpq5z9oad6 NrSmCxBjXwizktiiZ3J2oXTFfW5aMh48YVTWXxWX1ufxbgho+ckTyZgri5V/voaflAZl DMFFPgMz3FqkXkoiTsm11qGlb2wlfLMe+5aaItkfKYr0MtUkzD+OmqsWLoAI2/R5h3J4 p7lYjsXbXhpibdvzoR5d1BOhHXIMFzORcH/YenHSLUbhJLVazFhs6Br3kOFunaCL4n1A 0CM4E1aiy9P6OW2JRm+/a3NT6+HScTUs+y92tGtEmoymYZxhEKSVaYyyUPmutbjxUtZN ftVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a27-20020a17090640db00b006df76385e36si17615623ejk.726.2022.03.29.09.57.59; Tue, 29 Mar 2022 09:58:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232877AbiC2GKN (ORCPT + 99 others); Tue, 29 Mar 2022 02:10:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232459AbiC2GKL (ORCPT ); Tue, 29 Mar 2022 02:10:11 -0400 Received: from mail-sz.amlogic.com (mail-sz.amlogic.com [211.162.65.117]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 364715599 for ; Mon, 28 Mar 2022 23:08:26 -0700 (PDT) Received: from droid09-sz.software.amlogic (10.28.8.19) by mail-sz.amlogic.com (10.28.11.5) with Microsoft SMTP Server id 15.1.2176.2; Tue, 29 Mar 2022 14:08:24 +0800 From: Qianggui Song To: Linus Walleij , CC: Qianggui Song , kernel test robot , Neil Armstrong , Jerome Brunet , Kevin Hilman , Martin Blumenstingl , , , Subject: [PATCH] pinctrl: meson: fix unused variable warning Date: Tue, 29 Mar 2022 14:08:21 +0800 Message-ID: <20220329060821.15251-1-qianggui.song@amlogic.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.28.8.19] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The kernel test robot reported a warning as below: >> drivers/pinctrl/meson/pinctrl-meson-s4.c:178:27: warning: unused variable 'tdm_sclk1_c_pins' [-Wunused-const-variable] static const unsigned int tdm_sclk1_c_pins[] = { GPIOC_3 }; Fix it by adding missing description about this pins Fixes: 775214d389c2 ("pinctrl: meson: add pinctrl driver support for Meson-S4 Soc") Reported-by: kernel test robot Signed-off-by: Qianggui Song --- drivers/pinctrl/meson/pinctrl-meson-s4.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson-s4.c b/drivers/pinctrl/meson/pinctrl-meson-s4.c index 3c7358f53302..067c6749c849 100644 --- a/drivers/pinctrl/meson/pinctrl-meson-s4.c +++ b/drivers/pinctrl/meson/pinctrl-meson-s4.c @@ -575,6 +575,7 @@ static struct meson_pmx_group meson_s4_periphs_groups[] = { GROUP(tdm_d2_c, 4), GROUP(tdm_d3_c, 4), GROUP(tdm_fs1_c, 4), + GROUP(tdm_sclk1_c, 4), GROUP(mclk_1_c, 4), GROUP(tdm_d4_c, 4), GROUP(tdm_d5_c, 4), @@ -937,6 +938,7 @@ static const char * const iso7816_groups[] = { static const char * const tdm_groups[] = { "tdm_d2_c", "tdm_d3_c", "tdm_fs1_c", "tdm_d4_c", "tdm_d5_c", + "tdm_sclk1_c", "tdm_fs1_d", "tdm_d4_d", "tdm_d3_d", "tdm_d2_d", "tdm_sclk1_d", "tdm_sclk1_h", "tdm_fs1_h", "tdm_d2_h", "tdm_d3_h", "tdm_d4_h", "tdm_d1", "tdm_d0", "tdm_fs0", "tdm_sclk0", "tdm_fs2", "tdm_sclk2", -- 2.34.1