Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1430697pxb; Wed, 30 Mar 2022 03:26:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXKlza06IQnA6No/Mr8Jv+ArahOJ69/MQ3V8JCBCxfVHqi2MLq03jDcPlFKZ1C6E/nQFr1 X-Received: by 2002:a17:907:3e82:b0:6e1:3fe3:9b14 with SMTP id hs2-20020a1709073e8200b006e13fe39b14mr7595427ejc.561.1648635988660; Wed, 30 Mar 2022 03:26:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648635988; cv=none; d=google.com; s=arc-20160816; b=hsht8in9IXb+JkAkP3kci7lqChvSYx6y5MjoaUa23CmUHodwS2pQ1MyRB3BwNQGrWb Pj8bFDfCodowwDe0IKWyzp2QUuL9WF7hTiKvscqPNTHvcBWOc4gk7T9gz8q58WA5wDfk lYpknrLA1xYYMFYpjId9MATt6s6Km8lodcwbJYzK5/B4IfdhegPZtvFxZA2qICgbVLxp xu6gIQbExC9YethQoeJ3BP8BrAQqBoJzEhDrfloqmdWAU8ggI0yZy6tU0CDXBPU5DWUQ caodx4cSWOa//XZLNpu/nB4Mj7oUwtdW6ss9/0XCyGvEh+Szj1o/7tKNHExVkl9A9Bk4 1jjw== 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=l0SqkaAaDohHlWa2iDByPcYa9Xen0DCb/GanrbCJLNY=; b=QisgiGE4L1ytAshVWBKGfGPv/zLijMGh6h8J0d2isENy42h9P++tzKuTRWgbV6G14L fRX1NHRwQMjen0bWaISi24SBodm5iSwWQj1pjLVOvAtBj0K52S0wD4OFotuUF+SLM7oM ZbjdfXAKAvfsI9n4VZyvJoZC8nLai9BTysOojBLgihSXi+FTFbuy7NNGZstdHz6878uw xYBUOcXWamrGYTqaM0ixpgIC0RheuOexvvZ/BujduJJmhRM6cuYSAnszTVVJjZmoDOqi s6frLmSlD58DnwGtDmwUdRo8MQEagH8VvNVlWq3p0XZptBTztu05EasM9GUysaY/LpqE xlYg== 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 l12-20020aa7c3cc000000b00418c2b5bd92si18794108edr.116.2022.03.30.03.26.02; Wed, 30 Mar 2022 03:26:28 -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 S242042AbiC3CkQ (ORCPT + 99 others); Tue, 29 Mar 2022 22:40:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242029AbiC3CkL (ORCPT ); Tue, 29 Mar 2022 22:40:11 -0400 Received: from mail-sz.amlogic.com (mail-sz.amlogic.com [211.162.65.117]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C89113CF5; Tue, 29 Mar 2022 19:38:25 -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; Wed, 30 Mar 2022 10:38:20 +0800 From: Qianggui Song To: Linus Walleij , CC: Qianggui Song , kernel test robot , Neil Armstrong , Jerome Brunet , Kevin Hilman , Martin Blumenstingl , , , Subject: [PATCH v2] pinctrl: meson: fix unused variable warning Date: Wed, 30 Mar 2022 10:37:19 +0800 Message-ID: <20220330023720.18238-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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/meson/pinctrl-meson-s4.c b/drivers/pinctrl/meson/pinctrl-meson-s4.c index 3c7358f53302..cea77864b880 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), @@ -936,7 +937,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_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