From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AAC46C433E2 for ; Wed, 16 Sep 2020 01:26:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 54C2520936 for ; Wed, 16 Sep 2020 01:26:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726219AbgIPB0a (ORCPT ); Tue, 15 Sep 2020 21:26:30 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:12293 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726023AbgIPB0a (ORCPT ); Tue, 15 Sep 2020 21:26:30 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 1B602DB28524526F960A; Wed, 16 Sep 2020 09:26:26 +0800 (CST) Received: from [10.174.179.108] (10.174.179.108) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.487.0; Wed, 16 Sep 2020 09:26:24 +0800 Subject: Re: [PATCH -next] soc: renesas: r8a779a0-sysc: Make r8a779a0_sysc_info static To: Geert Uytterhoeven References: <20200915140110.11268-1-yuehaibing@huawei.com> CC: Magnus Damm , Yoshihiro Shimoda , Linux-Renesas , Linux Kernel Mailing List From: Yuehaibing Message-ID: <9b20d554-eb3d-918e-54ec-b1f374b24a20@huawei.com> Date: Wed, 16 Sep 2020 09:26:24 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.179.108] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/9/15 23:22, Geert Uytterhoeven wrote: > Hi Yue, > > On Tue, Sep 15, 2020 at 4:58 PM YueHaibing wrote: >> Fix sparse warning: >> >> drivers/soc/renesas/r8a779a0-sysc.c:99:33: warning: symbol 'r8a779a0_sysc_info' was not declared. Should it be static? >> >> Signed-off-by: YueHaibing > > Thanks for your patch! > > Reviewed-by: Geert Uytterhoeven > > As commit 7f29315cf4211316 ("soc: renesas: r8a779a0-sysc: Add r8a779a0 > support") hasn't been merged into arm-soc yet, is it OK for you if I > just fold your fix into the original commit? Sure, it's ok for me. > > Thanks again! > >> --- a/drivers/soc/renesas/r8a779a0-sysc.c >> +++ b/drivers/soc/renesas/r8a779a0-sysc.c >> @@ -96,7 +96,7 @@ static struct r8a779a0_sysc_area r8a779a0_areas[] __initdata = { >> { "a1dsp1", R8A779A0_PD_A1DSP1, R8A779A0_PD_A2CN1 }, >> }; >> >> -const struct r8a779a0_sysc_info r8a779a0_sysc_info __initconst = { >> +static const struct r8a779a0_sysc_info r8a779a0_sysc_info __initconst = { >> .areas = r8a779a0_areas, >> .num_areas = ARRAY_SIZE(r8a779a0_areas), >> }; > > Gr{oetje,eeting}s, > > Geert >