From patchwork Mon Dec 10 21:58:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 153374 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4058124ljp; Mon, 10 Dec 2018 13:59:34 -0800 (PST) X-Google-Smtp-Source: AFSGD/XdO06oolbUFJogtpHy2qv5d9B+4y7sAmewyFVw4YBDP+WQhw2Y1rAcuS4o1FhS8pweCzak X-Received: by 2002:a63:1c61:: with SMTP id c33mr12102624pgm.354.1544479174706; Mon, 10 Dec 2018 13:59:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544479174; cv=none; d=google.com; s=arc-20160816; b=euns0kJhnVCvsTd4g9a/Wekhe1DISGz678lYWdLKgWCV6i5yLGgBa4SdDy7jCDDHU4 sHEj+kBuVN4NT0bOjlmdEhYHlIy4Grqz5uljuxHQ2s1OTDTOyXI2hA9nLnidpW5zaDto sMyaIhLtsVrR/yZFyXuOqbqUXLKuYI/S7y6qKTmETToLOAaNHx1Qqz3muY1j9FImV7yq hB5m0yRhFDLmcaBv6O5S0Z352EgumUSCRPNl8x9tgrPf+fQLZ/Xb3actXatA4Ps4d2QM MoEG1WuR4QsuNoSzjib7ZlSvyquLRHguQXmtffdOMxXVjQs6rKVudIV3VVn/uy0ogvSJ p7UQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=t/4g5antgKx3V1JTtj+6pIZtTx9mxgI4pe1zfG5ra68=; b=m8kaC2J/KjE4eposszSGEGocYP7sgKqr/mzkSyU00HYynFvlljA19Fm6DYS0G5DM5I /CS9jnNzn7y5KXzJT4fi9K+yHLRs7R0L9e6cblIqNZbz5eOuR+6Edf9hYx3249zBQ/IL i7DnUJVeQKv3/KbdOFQHfQvALyJoPU20VNilBm+BisaaJNJg+uuQ9ibH8FxZ31D8kPGG 5bbUISuzfrwWbf5w8HKl4KamPPcZXGL85eYtpMX9YdAGtBJ/uwT2UeNm6zpGnLJPAgpS ibhBRKcfDBNfsJYnMe9Ldfstz7KW8tP5bZnChITOk+49FR1oRBYiDWluobJDN9uz1Ce+ J6Pg== 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 b18si9635414pgj.399.2018.12.10.13.59.34; Mon, 10 Dec 2018 13:59:34 -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 S1728993AbeLJV7d (ORCPT + 31 others); Mon, 10 Dec 2018 16:59:33 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:50299 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726024AbeLJV7c (ORCPT ); Mon, 10 Dec 2018 16:59:32 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1MhlbM-1h9x8Q27to-00dpPE; Mon, 10 Dec 2018 22:59:10 +0100 From: Arnd Bergmann To: arm@kernel.org, Thierry Reding , Jonathan Hunter , Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] ARM: tegra: avoid section mismatch warning Date: Mon, 10 Dec 2018 22:58:37 +0100 Message-Id: <20181210215856.2238253-2-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181210215856.2238253-1-arnd@arndb.de> References: <20181210215856.2238253-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:pVzuuYiqZoGnxIy+9O0ggSKEMABUdN1/PH8ap7LXzx57zWT85/C H5i38KO1MYUDuBDwzj2oZtGDnf2B0nJUcYb6tDuCQ5PclG6juq9E30nyxT3bzPFhjyA8HS+ qgT9XnOgvQQHZWq5vq2ZGNabnTPvLHqVfDIC/jAH9RhP2GnZaC+FQO5d4dSNTbf4kCULpXY htRBQ9zpnaH2qPSt+eXAw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:NR/oVWTKn40=:f2ARBWMyYmyXlnsazBYwCc JUmDGB+JHoTUwWfa0w94mZTeMvA66IoDU6pZ66NV5wAQhZ2a2gXQVkKuUCM7RqMqKnNFqRj2J On+rlH3gQrAFA3QNeRQMzbY7NEfI767ywEdIRVue8qKJL+Z4mh2k0CTxU+06OZ0rbD52mzyKb Pq6ci9ScKBzqI7poSrCB9tI6zNq03gi3RmjtqEF12e3u+0GfWkPMiHkNxBF1UI69iBlFMYwUO Nvmaue+liI5jAYucUnSObCDX8AJpo6KnRXMZNyrgA7QNou2MWaxNaSHLvVbEuTycI5kL8Czfl VDqabZ6LO9NEXiTj0Sicyc4vvNCFWsaAbeH/6dZdJPKOycq5vJNJ7pyBygQXAlOko12s3v8cA bcCJcEhX+H1VViF8NurwSDHN7Ni5crfziC6menWuhsSyp/QO4oibyho2LcAFtqgYJDFGWJVDl M7dUbF5uYvhXBTmmqbAgK0ZnUNzIBSREbtUgXeTn5FB/YMpgt7wXaGQ2eWTlhrppyd/EnCId7 vcJEs87ZW3L2/mfUeEAGXf3RsxtYrA+s3Bji3nBuJDrj2Q2UJwUWrglZcmR6rNzq9LzLoESs6 m2cWp/koI3RM0De3NnX/4QRJelKgBxRa5Z88Yi193iulnrsLh1r2ZFMP2KwWh8/UIpTyzRJ8Y odst20GVd//mMgTESu2yoZm9rf6UNc4rd4dO+PvHiuXbo4r1s0HwItd+6hd/RISt/leZgvLIQ S3c2p7M/xIO2GMopTdRRJg5IcIUcBW3as5ruOA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org WARNING: vmlinux.o(.text+0x39ecc): Section mismatch in reference from the function tegra114_gic_cpu_pm_registration() to the (unknown reference) .init.rodata:(unknown) The function tegra114_gic_cpu_pm_registration() references the (unknown reference) __initconst (unknown). This is often because tegra114_gic_cpu_pm_registration lacks a __initconst annotation or the annotation of (unknown) is wrong. Signed-off-by: Arnd Bergmann --- arch/arm/mach-tegra/irq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.0 Acked-by: Thierry Reding diff --git a/arch/arm/mach-tegra/irq.c b/arch/arm/mach-tegra/irq.c index a69b22d37eed..a186ab663b0b 100644 --- a/arch/arm/mach-tegra/irq.c +++ b/arch/arm/mach-tegra/irq.c @@ -72,7 +72,7 @@ static const struct of_device_id tegra114_dt_gic_match[] __initconst = { { } }; -static void tegra114_gic_cpu_pm_registration(void) +static void __init tegra114_gic_cpu_pm_registration(void) { struct device_node *dn; @@ -85,7 +85,7 @@ static void tegra114_gic_cpu_pm_registration(void) cpu_pm_register_notifier(&tegra_gic_notifier_block); } #else -static void tegra114_gic_cpu_pm_registration(void) { } +static void __init tegra114_gic_cpu_pm_registration(void) { } #endif static const struct of_device_id tegra_ictlr_match[] __initconst = { From patchwork Mon Dec 10 21:58:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 153375 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4058367ljp; Mon, 10 Dec 2018 13:59:54 -0800 (PST) X-Google-Smtp-Source: AFSGD/UkyUYSgqoxtmQE2tt+6S69thx/3QXx8oRg3CY7hDtMO8EJyzZVJR/4oNEZB8YB0qpk43uf X-Received: by 2002:a17:902:1122:: with SMTP id d31mr125403pla.246.1544479194518; Mon, 10 Dec 2018 13:59:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544479194; cv=none; d=google.com; s=arc-20160816; b=MRjeV+0aqSQjLR8G76vvGuu/asiQSqAUJOs/RKwp3v0kOOps8oP3OjV5ii84DTTJM8 6czNjitkM1KqjvlxdDzgUfMoctLB33sPbw1DCyr+1TJmZXpQS09QI2P1jXNSUl3ndxNl LbvD/3tLD33nFOlMsS+R2OcyRQCFIANHWxQcqSlKrLmlvTncxXyGNumg76jlHXFM5w7U U7KBq5fN96InB9bCktAV7Mxzm//xVQ7swIh12UY5tyNm2I/2AWOubtiZYpLO81mVlRWh rRiQ3qEPSOE+U8K3NElUj3svUlhI8yUYl1IhNMsm2HXYcTY42yoQvqI5jyqLwR1Gl0AJ 49sA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=RwK8q3vnoErNtjirZ/UCMPF5dHhgOFQkGjF/0/ymsjc=; b=yzujCevWJFe9/7wTdXv6akYRXEVhA0gqcCrFMKC5P5sxFHTQWnE3FRFlKMX85xYkMq sZ+dRT+W3m86iZQ1TEeFAH1CQJ7JAcaCc20NuDtS/52ASLxnjtdVk0FULEGze5kqew2q 3A6AaEspNCI+FjBXlQTeCAiak+scCgEDQZ52QLMgC9kyfDiykZZImvng67qko4xp15HJ blCxOL+d8x95QlibgItcSMDOXdvQ0pClcJwPgHV//zscv+S9N+DX5xR9slkt1bzFX5kh vXKIXcL7sCiNHFP0uRBQ/2qj83ZqwihrnDr7LtLpKJwe7iJ1mY2gPBQAQyaKkNqpZQuj Eb6Q== 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 j7si11645140plb.91.2018.12.10.13.59.54; Mon, 10 Dec 2018 13:59:54 -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 S1729264AbeLJV7w (ORCPT + 31 others); Mon, 10 Dec 2018 16:59:52 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:38549 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726024AbeLJV7v (ORCPT ); Mon, 10 Dec 2018 16:59:51 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1MrPyJ-1hHLfj1trD-00oZyJ; Mon, 10 Dec 2018 22:59:28 +0100 From: Arnd Bergmann To: arm@kernel.org, Greg Ungerer , Robert Jarzmik , Wolfram Sang , James Hogan , Arnd Bergmann Cc: Lee Jones , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] ARM: ks8695: fix section mismatch warning Date: Mon, 10 Dec 2018 22:58:38 +0100 Message-Id: <20181210215856.2238253-3-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181210215856.2238253-1-arnd@arndb.de> References: <20181210215856.2238253-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:C08GXU7G/QybJVSD6XwmX6YnmR+EjGBU/Jra0yrgutJo0sYTaDd 9syqErBwHA8qnXfo+0SrIcGwI21H3g6LYFSFK5+v1umL5eLNfNQWQuHZc37wnZo+pzPK+IX Xb5c/GiDmdU2E0GGLDzBsGoQtBx6DoMb2AhcOkNB2YtSX/09ie0tZgTFkNJ+9EUFBnuNvH6 QATu7Ik6SBwZquhJ9xzOw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:Ntbpk4aPYZQ=:d0XjQYNwtnuQM85Pi6ajdM FMW7i573FTC4U0FhsPfu/5R+aOhR+MxOelpOODeEdbEe3jou7KEoB08yIBfSUw/+gOpGiwSOL TqXOwWf2JKz3vO6BOPCjUy+sGPP+1k3BHOcCOstohqCyMKmGAQbGGYCabvtJ6xy1x57QLYWRP E5SEP6FiaSOmSwXC8uyNA4JmVUHWVEA7lg+6cPWD9jkj98fbMiSrcx3VeOi8m82MP+mZyBMFu KY2aeMY1Zo8slt5M/JcRD9j4p3sV00pg/jDZoEVkCLWEVIAqOQ64ixnEJWeGuxyHLXqSsRtp/ LUKT/afsONPkF20rFpIl/EOj3wyjoxo/+IRp0dOafdyKHtmeBXDImlopQP76Q/fiWZw7ExzpZ 7YEyrXXnIXM3hE31//H2eVbg8ipS0Q/o1GxhCFCjizxw8XIhX7Sk1HK9ARJpPm9ExhRTbM+IC sLTfgwELHXozN9Gy05E3MtuDf8v7EYJ1zaQcg0PEE36eHPKBtqOMxjdXg8d92k/GeKwzMCaFN znoWurQdgMorW40zUcJyvv2edI+ido1xIFhJD+zw4WnZO5MP54TJaITmUzTCuElYfddXew825 kWMXTWtrah85heGqwd8lkQGKnACQ7FbZBorDPTwnkSdLLy6OwXL3QzMqOktOLbNvtSrfgBXWs D3cDA7Hzzh17X4nMFn7MOAcxuz1nTMvJy0xdfFawyzPyXXJ3lZM8H5114UpGcATjZ0AA7gaF2 +wrVO83GKc3FpI7ii24KqlLeVoxCG8Zgk+XSqA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org WARNING: vmlinux.o(.text+0x13250): Section mismatch in reference from the function acs5k_i2c_init() to the (unknown reference) .init.data:(unknown) The function acs5k_i2c_init() references the (unknown reference) __initdata (unknown). This is often because acs5k_i2c_init lacks a __initdata annotation or the annotation of (unknown) is wrong. Signed-off-by: Arnd Bergmann --- arch/arm/mach-ks8695/board-acs5k.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.0 diff --git a/arch/arm/mach-ks8695/board-acs5k.c b/arch/arm/mach-ks8695/board-acs5k.c index ef835d82cdb9..5783062224c3 100644 --- a/arch/arm/mach-ks8695/board-acs5k.c +++ b/arch/arm/mach-ks8695/board-acs5k.c @@ -100,7 +100,7 @@ static struct i2c_board_info acs5k_i2c_devs[] __initdata = { }, }; -static void acs5k_i2c_init(void) +static void __init acs5k_i2c_init(void) { /* The gpio interface */ gpiod_add_lookup_table(&acs5k_i2c_gpiod_table); From patchwork Mon Dec 10 21:58:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 153376 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4059665ljp; Mon, 10 Dec 2018 14:01:17 -0800 (PST) X-Google-Smtp-Source: AFSGD/W4kPO8wFtZZn0HGTn/j0wECn38S8fFS5iXTmY9fgK96+ZOZn4dsKwxaoyRABk3ZzyDEane X-Received: by 2002:a62:ce0e:: with SMTP id y14mr14527884pfg.100.1544479276923; Mon, 10 Dec 2018 14:01:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544479276; cv=none; d=google.com; s=arc-20160816; b=Dgtlb9DaMw0cldsb8NXeVGOgoorVQF8IH3i55kgoX9fbr6YxRjFUt01rcE0JXSbSB2 r46C4OFMk4eebvWX7y5aaxM7ud8uIb9yriimlECLTCCGXl6/Q6OmOWVGV8sN7bhfPFXn piXMg38JeYl40eut9DXkWc5bj8/IFRl9sxBrwA8CQOe9lWfJ4o2dBvQk4pFYfaoTz/lo oVdx6LWKVUxrmIXXaSVMZ54RxUx51KvTAc9lW1n0SeYgXkL6TGgXkrB1HI/m6Mu4+5KM ku0qCDD/BdErlJBsThshsumTXYjhOOZ9lPu2ujYQ7YRz/rVQYoGlRvg1immCyt4nn26K bvHQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=BaUh2OQ1BV7MBx+fVpALKTWA2rEz+1LLBN3apilfcJM=; b=RA52zsP7rhpVqw6rLUhqbGOJtT++mxaNDKY0LG+Bq71HG9eCV6SRZt8pEYVVmeTzN3 lwch1KHIBXhJDeZbfwNjzG+qQGrtp4KLFTu3fZkcvno3zGrr95K282VNXryDoFZNh1DC 1p+hMIW+YDWotvPNAkZFNl21e45R2NbW8TPtqYLNLHPWhanWwX5ANQa0xuKatEq93AiM Y6668V7mic/aJ+21ve6SDOh69wgpfJ53+k1YbagW1lLQxNPLfCcNKSFmr5sbidA09Nbl 0RUn7eMkwLeoTKxjExQMKP6FpRVoXyRMGF/skoaaoZkQbaOKzrW4SLnnkFcCi0r0gheT z5Hw== 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 u202si10326559pgb.115.2018.12.10.14.01.16; Mon, 10 Dec 2018 14:01:16 -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 S1729318AbeLJWBP (ORCPT + 31 others); Mon, 10 Dec 2018 17:01:15 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:41611 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727880AbeLJWBP (ORCPT ); Mon, 10 Dec 2018 17:01:15 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1MDQRy-1gdb7r20LW-00AYJq; Mon, 10 Dec 2018 23:00:05 +0100 From: Arnd Bergmann To: arm@kernel.org, Daniel Mack , Haojian Zhuang , Robert Jarzmik Cc: Arnd Bergmann , Linus Walleij , Ulf Hansson , Igor Grinberg , Miquel Raynal , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] ARM: pxa: avoid section mismatch warning Date: Mon, 10 Dec 2018 22:58:39 +0100 Message-Id: <20181210215856.2238253-4-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181210215856.2238253-1-arnd@arndb.de> References: <20181210215856.2238253-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:op5fpHUg413BwkzBl40iq+Gi+V2I2A80rX9YvUBiIA3ewZpCu3+ 4BfpTBlnuSadxNlcNhoiRjVsPjHgrkdfa+hn29jiLca60B614GT8lwcVG2V6XNH3nQAfEJB C14/CzU1Ml/twPNzD8LGMwGGiAojrq3F5ZVSgzEEPkR0alfPoMYNrPOnNytDWbd7DTQ3iiY 5zca4d+M+TCFXh6CVVTiA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:hrlG9Un2ALQ=:DCcryrPNDhf7kmYDcs4RXw TeC+J75xO8JdCPVmpVbrcVz/8vQ9KSkkMusgjGJAS1m8B6gjibqYNVoJhOXn+fV2/Q1cRvVYS pSlctY+MP/zF6zpTOaFRJckAc9wGAGq8rQE2l8lWYaWD1Xr7yoEUm+tx0BwBnWfwbg4MQFZT/ oaa1VTtjv1pOIVdNgvBY0qOgvzv82Qwm+mAsj/HgpmsqtfaIr/7Ogw1M+lbD4sAgtkxG4IM6/ P/yRMpMIF9NswmJ3C04NpEYnvatKb4v4m50TdVfnO38AoRuLd2u64n/DnD8NhPUVYuggu7+Sx Li43CdWd5AWRDEEewi0IYlJfRD3zBWFurRWtEA+9p5mTCiLPzAGWBPm4+wcCgyE/vVUs7nMG+ WkE8pgVrevAYOHfLYFHp4vZN10fB3N50VuBCYnZN3qDyY1IeAKzITmY+WyLAjcTwHQZFu/Hpz 18i8PD4BrJlYSsHif/fiWfGOzeBdCOSrnVJ/1XeU3cgSL4ZITceEtcy0DWUi4Ta9OIC3nBTve rtOUmQ3hGxvXzjjOSEYXWAi6/OQGsXuVehbHsEA34xHlshqiV0o91jG76dBCeTz89KoK1Ba/f oCXij6SUi8Wf7y2jYRLokrOb7qSNfUpAofEHV+QBz9enpYLuABWePi2X+okJzBDMYgQjyNANz cXH7b9EJCd5HRoLNgqjPRlyH744WtUauUO7lkZebDMAwJmGeXwEFXp4B/Aqqt68dMX2p/6xiA VLjLwlVhHIGYXWI8AaHeO4KTH0By0iVAMrEP+Q== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org WARNING: vmlinux.o(.text+0x19f90): Section mismatch in reference from the function littleton_init_lcd() to the function .init.text:pxa_set_fb_info() The function littleton_init_lcd() references the function __init pxa_set_fb_info(). This is often because littleton_init_lcd lacks a __init annotation or the annotation of pxa_set_fb_info is wrong. WARNING: vmlinux.o(.text+0xf824): Section mismatch in reference from the function zeus_register_ohci() to the function .init.text:pxa_set_ohci_info() The function zeus_register_ohci() references the function __init pxa_set_ohci_info(). This is often because zeus_register_ohci lacks a __init annotation or the annotation of pxa_set_ohci_info is wrong. WARNING: vmlinux.o(.text+0xf95c): Section mismatch in reference from the function cm_x300_init_u2d() to the function .init.text:pxa3xx_set_u2d_info() The function cm_x300_init_u2d() references the function __init pxa3xx_set_u2d_info(). This is often because cm_x300_init_u2d lacks a __init annotation or the annotation of pxa3xx_set_u2d_info is wrong. Signed-off-by: Arnd Bergmann --- arch/arm/mach-pxa/cm-x300.c | 2 +- arch/arm/mach-pxa/littleton.c | 2 +- arch/arm/mach-pxa/zeus.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- 2.20.0 diff --git a/arch/arm/mach-pxa/cm-x300.c b/arch/arm/mach-pxa/cm-x300.c index 109fab292f94..b76b566280fa 100644 --- a/arch/arm/mach-pxa/cm-x300.c +++ b/arch/arm/mach-pxa/cm-x300.c @@ -564,7 +564,7 @@ static struct pxa3xx_u2d_platform_data cm_x300_u2d_platform_data = { .exit = cm_x300_u2d_exit, }; -static void cm_x300_init_u2d(void) +static void __init cm_x300_init_u2d(void) { pxa3xx_set_u2d_info(&cm_x300_u2d_platform_data); } diff --git a/arch/arm/mach-pxa/littleton.c b/arch/arm/mach-pxa/littleton.c index 8e0b60a33026..39db4898dc4a 100644 --- a/arch/arm/mach-pxa/littleton.c +++ b/arch/arm/mach-pxa/littleton.c @@ -182,7 +182,7 @@ static struct pxafb_mach_info littleton_lcd_info = { .lcd_conn = LCD_COLOR_TFT_16BPP, }; -static void littleton_init_lcd(void) +static void __init littleton_init_lcd(void) { pxa_set_fb_info(NULL, &littleton_lcd_info); } diff --git a/arch/arm/mach-pxa/zeus.c b/arch/arm/mach-pxa/zeus.c index 897ef59fbe0c..c411f79d4cb5 100644 --- a/arch/arm/mach-pxa/zeus.c +++ b/arch/arm/mach-pxa/zeus.c @@ -576,7 +576,7 @@ static struct pxaohci_platform_data zeus_ohci_platform_data = { .flags = ENABLE_PORT_ALL | POWER_SENSE_LOW, }; -static void zeus_register_ohci(void) +static void __init zeus_register_ohci(void) { /* Port 2 is shared between host and client interface. */ UP2OCR = UP2OCR_HXOE | UP2OCR_HXS | UP2OCR_DMPDE | UP2OCR_DPPDE;