Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4164357imu; Mon, 10 Dec 2018 14:20:03 -0800 (PST) X-Google-Smtp-Source: AFSGD/XxSb21UFJSFJzyipGrTG82wkOg0VpX5t5cDBRZkIF2d435Zt5zk2xT1rmz1ULwuPqydJM/ X-Received: by 2002:a62:e30d:: with SMTP id g13mr13922753pfh.151.1544480403814; Mon, 10 Dec 2018 14:20:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544480403; cv=none; d=google.com; s=arc-20160816; b=gEppUFGIHmiskvdxzwCNEMQQhknJyG+/pmB/5PWeRPAgupNlUxa2p5TWa62ltsDUbO LGrb7CypsQUUOd3Gu3qe5aUst84abBb3H+eteSO3GbwbWgzQETTmaF87wAoH1xmTo6P6 SzlzR8Bdb7JXydktlu3GW1pTstxGQwIodtO2ovDxz9DXlk8yyZzXysV+ikcSdZYtmKw6 q5SU3TPdLHh2qne2Zgp02wFYoz8sRT3/1stE6YSDjed3xRPpHFsIs8VMlGzRqHf2q6zw wnUjzB86SK9fYGkyUIhSPcObsPFI9ujHpdHX9p1NvKJRrhWdTgelZgmKCDBCKuKei5eV s36Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=wfmnX8Jpgi/sRdrb+5aCvGVxirkLcdHLq75ugVgzIoc=; b=HhL3LX1Jza6R1CFH20RSbfWVdWEJeNKTViGDoIdIOtNfXgsyu9pGP6eEIuQVoYQvnA Ycl7Uwth3XMcJdbtV1XAdjA7fBRaCvcN/ORvbHzHGJOswYJ9S6wTLIFh2VwdAb26oHLt SqrXy8axCS3J2MdKdcyjvTw8nH3+Dx+4JBERnuo2UR9VsEvbXpI74e0bIcKe+ysCJ/Yp gTpSwq3uR5tcccXcZvIglzrxkutY5JAccgM1LjxDzTxof3ZKRMVHjv8BUHJ0qlc5HaqK l9KeMpA12a/UbFZPcGJKnm7kxWmAZJbFY5cD4vHC/PyNjj2hcmwew/WFjd4gNiYPleSf Tk0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h16si10706315pgh.283.2018.12.10.14.19.47; Mon, 10 Dec 2018 14:20:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728534AbeLJV7U (ORCPT + 99 others); Mon, 10 Dec 2018 16:59:20 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:56379 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726024AbeLJV7U (ORCPT ); Mon, 10 Dec 2018 16:59:20 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1Mdva2-1h3tO0002A-00b3Ru; Mon, 10 Dec 2018 22:58:58 +0100 From: Arnd Bergmann To: arm@kernel.org, Kevin Hilman , Tony Lindgren Cc: Arnd Bergmann , Dave Gerlach , Keerthy , Tero Kristo , Santosh Shilimkar , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] ARM: omap2: avoid section mismatch warning Date: Mon, 10 Dec 2018 22:58:36 +0100 Message-Id: <20181210215856.2238253-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:4xNfypOG1G7KemGovL5smhPkT+WbudPJ33gdVGCu1Tj3Ec3qUoR TyQd9o3k0gnDQFOYHSD7mHWcwPAOkRBgMP7TxDQmDugBgrz7MHvL3ci1Q3nM78uYiiKGF1R f2pr8Ww/RxhXapwoSSyiND40NRjiabbovRuJL56i5dryP2/yFvpECuJRBjM1J2V0g20OE+B Zocqs3t7mmd6DrTvrmZpA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:G9nIODCCXis=:LWXXm/mQS1ubBy6fNESCXR wJrjp1mn7qniFZ/88nnZauB3WtjCJyeagvPjpJTqMjAexA46Vg5ZP25Higgjka655BkKE9xZV WZAdO82shBPideu5BcgKX3Po9DttgoWFU+2lUfFRZtDR4cp7TyFFnpBaVt+VIKwR5EZ+pCEqh Vot3l2LIjE86VFA7w15iH+nnRlqMVS+q1sHWzBEll2RVJFi4ErI7kRQ889sSVAtIuRGfZnRv+ l52AvS+kBqNhguZiVQojz0Y1LVfOvWOpGX+8Ht3KwERI3mq1/jWIMvmHojzGLhY3F+hn2EjSs GYVbJZ10XZeF4taln988IJggn25tkB8yMD+t34/yZ/ecOGMWUnyBqXQOCrYgbR3Q/QB7RzIL0 erjY4T+0XBycItoqTIagX/NQ7l5Ue42SMsVDj442zlVRwEcYsXIxczsyaUULpdQwDS1URUkod Et3f4zHXmFeDQBd76G2jKI5Hp5GqgEoZzm0HxmZE+a6GYtriK2vn3cePNF6yLd2vkeTU6F0qw SKaXPZvPnC4+XeHpD2a1F0P73m29PtNOZX+ySY3e5IUC7ra85YCQHdpROguKSuGkY7iPy8qzu 4igcXGn2XTPFGtOuqTS5eKyg3I8Fyt8vDao3trj5QbKC6B0sVWXfZmqDjmmQpZwLYnbPm581k UzFqa5CVPNBzXM1Ux+D2smByYQPFlL3MaAmKKyOMLu/loMRwQm97A3u9JzvNcVZOhHh5reu1O vyyLNobE3Va70dL12INHEock/hn0jwQr9tNuYA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org WARNING: vmlinux.o(.text+0x27530): Section mismatch in reference from the function am43xx_suspend_init() to the function .init.text:am43xx_map_scu() The function am43xx_suspend_init() references the function __init am43xx_map_scu(). This is often because am43xx_suspend_init lacks a __init annotation or the annotation of am43xx_map_scu is wrong. Signed-off-by: Arnd Bergmann --- 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 f4971e4a86b2..724cf5774a6c 100644 --- a/arch/arm/mach-omap2/pm33xx-core.c +++ b/arch/arm/mach-omap2/pm33xx-core.c @@ -28,7 +28,7 @@ static struct clockdomain *gfx_l4ls_clkdm; static void __iomem *scu_base; static struct omap_hwmod *rtc_oh; -static int __init am43xx_map_scu(void) +static int am43xx_map_scu(void) { scu_base = ioremap(scu_a9_get_base(), SZ_256); -- 2.20.0