Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2355280ybk; Mon, 11 May 2020 19:39:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtbb4XEF3Vf8hb3c/CQuRb5W+h3jtP7pE2ZqfzKWesha/4mlXG5xtrv1+bKAM4DVEL+lCo X-Received: by 2002:a17:906:4d88:: with SMTP id s8mr4674516eju.193.1589251159412; Mon, 11 May 2020 19:39:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589251159; cv=none; d=google.com; s=arc-20160816; b=0hGB6BhIbHCfsj3liisF/J9JBsdsaGN3ipxf3EL7hudDj4XuoBxBeB2RAf9WRQ7tAy zUC7rfeN0z6ZPEkb05knfGhKjcWhqe3ZQaa0GFsaYiYgq+CLCahE6PB5Nl5GD+P6QzRX 51YJmsKk38HrMyrlUtJbODSC/DRXjsIbCh7Az4EoqaGYrc4FmShtOgMBnq038RJEn6Di beEMbhMrpvymyRoO6YAm8kvqqvAEKn7GzkbZMETz7bVc/T3AWswjV+7lK/KrLn1dL9rO 8aa28REGyLJXB9fjAPBlwtXF/FYnsW9PvjpMRewjLD4mvJ0tTxXqLUwHLCxCLS6eSUUf iG/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=D2VHBGvmgimyYGLEckuJ2VvPA2L/1iPEfh1FJTBKdNQ=; b=zhwdvCn1sjEQBPikWhSO/KRbdvDxCT3mE+C/8Z9vLmoHLFIi3hjHPDUO8aPpe7tu/W 0tYY26BiFNNbVqbUbYmoAWDcNtCPH5FXPpFCF5DIrY8K91xiry/r2YrrrUETWt6mh93c OSSo8EQrG6U0dPqrqlj+/Mpvai8DOO30XfWiVAEIDVkjE0K/1E8sz6SJsn3hnolRQ+zg bULb6VSZxMJV7w0ZPWVm/PVegKqmfb38V8Mt/m984hqouzVhv95IIub2vfWlZb4X66xD 4xg8PRXqCS+3ui/Sjn3wr2n/gkNJEChx+/sxjj2xamVMOFt5dzOuJJuznWm9ysEr4XLS XsvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo2si7301014edb.438.2020.05.11.19.38.56; Mon, 11 May 2020 19:39:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728606AbgELCfN (ORCPT + 99 others); Mon, 11 May 2020 22:35:13 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:4394 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727892AbgELCfN (ORCPT ); Mon, 11 May 2020 22:35:13 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 3F0AFF321171ACDED613; Tue, 12 May 2020 10:35:11 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.487.0; Tue, 12 May 2020 10:35:05 +0800 From: Samuel Zou To: , , CC: , , , Samuel Zou Subject: [PATCH -next] ARM: OMAP2+: pm33xx-core: Make am43xx_get_rtc_base_addr static Date: Tue, 12 May 2020 10:41:11 +0800 Message-ID: <1589251271-106359-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warning: arch/arm/mach-omap2/pm33xx-core.c:270:14: warning: symbol 'am43xx_get_rtc_base_addr' was not declared. The am43xx_get_rtc_base_addr has only call site within pm33xx-core.c It should be static Fixes: 8c5a916f4c88 ("ARM: OMAP2+: sleep33/43xx: Add RTC-Mode support") Reported-by: Hulk Robot Signed-off-by: Samuel Zou --- arch/arm/mach-omap2/pm33xx-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/pm33xx-core.c b/arch/arm/mach-omap2/pm33xx-core.c index 5455fc9..58236c7 100644 --- a/arch/arm/mach-omap2/pm33xx-core.c +++ b/arch/arm/mach-omap2/pm33xx-core.c @@ -267,7 +267,7 @@ static struct am33xx_pm_sram_addr *amx3_get_sram_addrs(void) return NULL; } -void __iomem *am43xx_get_rtc_base_addr(void) +static void __iomem *am43xx_get_rtc_base_addr(void) { rtc_oh = omap_hwmod_lookup("rtc"); -- 2.6.2