From nobody Fri Apr 3 11:02:57 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5784ECAAD3 for ; Wed, 14 Sep 2022 07:00:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229880AbiINHAX (ORCPT ); Wed, 14 Sep 2022 03:00:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229582AbiINHAH (ORCPT ); Wed, 14 Sep 2022 03:00:07 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CE0C491FC for ; Wed, 14 Sep 2022 00:00:04 -0700 (PDT) Received: from kwepemi500008.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4MSB1w5hJnzlVkl; Wed, 14 Sep 2022 14:56:04 +0800 (CST) Received: from kwepemi500008.china.huawei.com (7.221.188.139) by kwepemi500008.china.huawei.com (7.221.188.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 14 Sep 2022 14:59:55 +0800 Received: from kwepemi500008.china.huawei.com ([7.221.188.139]) by kwepemi500008.china.huawei.com ([7.221.188.139]) with mapi id 15.01.2375.024; Wed, 14 Sep 2022 14:59:55 +0800 From: ruanjinjie To: "lkundrak@v3.sk" , "linux@armlinux.org.uk" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" CC: ruanjinjie Subject: =?gb2312?B?tPC4tDogW1BBVENIIC1uZXh0XSBBUk06IG1tcDogTWFrZSBtbXAyX3Jlc291?= =?gb2312?Q?rce=5Fgpio_static?= Thread-Topic: [PATCH -next] ARM: mmp: Make mmp2_resource_gpio static Thread-Index: AQHYvZygDMXA9V5jW0GdHnKMJzF6Na3ek86g Date: Wed, 14 Sep 2022 06:59:55 +0000 Message-ID: References: <20220901004524.81383-1-ruanjinjie@huawei.com> In-Reply-To: <20220901004524.81383-1-ruanjinjie@huawei.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.67.109.254] Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Ping. -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- =E5=8F=91=E4=BB=B6=E4=BA=BA: ruanjinjie =20 =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2022=E5=B9=B49=E6=9C=881=E6=97=A5 8:45 =E6=94=B6=E4=BB=B6=E4=BA=BA: lkundrak@v3.sk; linux@armlinux.org.uk; linux-a= rm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org =E6=8A=84=E9=80=81: ruanjinjie =E4=B8=BB=E9=A2=98: [PATCH -next] ARM: mmp: Make mmp2_resource_gpio static The symbol is not used outside of the file, so mark it static. Fixes the following warning: ./arch/arm/mach-mmp/mmp2.c:157:17: warning: symbol 'mmp2_resource_gpio' was= not declared. Should it be static? Signed-off-by: ruanjinjie --- arch/arm/mach-mmp/mmp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-mmp/mmp2.c b/arch/arm/mach-mmp/mmp2.c index bbc4= c2274de3..696bc1856e6d 100644 --- a/arch/arm/mach-mmp/mmp2.c +++ b/arch/arm/mach-mmp/mmp2.c @@ -154,7 +154,7 @@ MMP2_DEVICE(asram, "asram", -1, NONE, 0xe0000000, 0x400= 0); /* 0xd1000000 ~ 0xd101ffff is reserved for secure processor */ MMP2_DEVIC= E(isram, "isram", -1, NONE, 0xd1020000, 0x18000); =20 -struct resource mmp2_resource_gpio[] =3D { +static struct resource mmp2_resource_gpio[] =3D { { .start =3D 0xd4019000, .end =3D 0xd4019fff, -- 2.25.1