From patchwork Mon Dec 10 21:58:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 153373 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4057962ljp; Mon, 10 Dec 2018 13:59:21 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wlnk3Capps6PqUvYHdDXBObjLPYhfPW2LyHoRWnCshVbs9Tv1zmmYX8UDQh12c4/xBAK2W X-Received: by 2002:a62:399b:: with SMTP id u27mr14458185pfj.181.1544479161453; Mon, 10 Dec 2018 13:59:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544479161; cv=none; d=google.com; s=arc-20160816; b=hwlUb4jtyqMiUC2V4fVgMz+hOj6VXNUqCOtCxxrLmAk4G/TbV1sDquQwxZRL8mGVJj 9U5BDblGDASr2HXSVQwlwpEps70fY11pyt1oaQ8x1LuYyi1nz8H39ySNQT+OoIZ64H+U 09UPlZbmS+Nzm3i7S4dbC8R7fUPKh5zE8VLcjAJGiznOuFemaxid88jeCiJb5ifw8FoH Q36SN0zmXm2xAGvndnze1opDH08MjaNU3uP8H/3TrwE+pk2XyrnHib+2OVleKD0boivH VEHJLl8mW90JaGBJ3rOxZV78L1eDcKkE9DVj7FpBbgI2ugf+oABmm/D0m2m6geImc4y0 X5GQ== 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=XUMFJfv1DLIvtODGbl6YTrsImG+o3JV2HTZcZqG3WJzZ6+v91qnVHPl/pHVyENcB/m 1BddMAyS5qronnY/GpWoNqQfmojTQkgdoGv31EYVB/CbsosOOc8WJCuKvbZeJu6FNFyu r/o9R6GAKsITqBhhJPfY39vpYSpCJB79Zcbg3gY2OOynuh581tQPXzl57WQl28ZFVlPm 7c7aATn/7KOQMIQ04mmeny1qH7q0WoaK7mPX8qsqjbqThE9tlH184jz4+bnO2R4drJHQ ujonv31a1vHA1+RZ0FepxtIsNSDCs7y4MoHJW14jSNnNafHO5RiXLU5L9P3gzRmbeh1v QwAg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 u25si10662453pgm.532.2018.12.10.13.59.21; Mon, 10 Dec 2018 13:59:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726324AbeLJV7U (ORCPT + 5 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 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-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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(-) -- 2.20.0 Acked-by: Tony Lindgren Acked-by: Santosh Shilimkar Reviewed-by: Kevin Hilman 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);