All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] ARM: omap2: avoid section mismatch warning
@ 2018-12-10 21:58 ` Arnd Bergmann
  0 siblings, 0 replies; 37+ messages in thread
From: Arnd Bergmann @ 2018-12-10 21:58 UTC (permalink / raw)
  To: arm, Kevin Hilman, Tony Lindgren
  Cc: Arnd Bergmann, Dave Gerlach, Keerthy, linux-kernel, Tero Kristo,
	Santosh Shilimkar, linux-omap, linux-arm-kernel

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 <arnd@arndb.de>
---
 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

^ permalink raw reply related	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2018-12-12 22:29 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-10 21:58 [PATCH 1/4] ARM: omap2: avoid section mismatch warning Arnd Bergmann
2018-12-10 21:58 ` Arnd Bergmann
2018-12-10 21:58 ` Arnd Bergmann
2018-12-10 21:58 ` [PATCH 2/4] ARM: tegra: " Arnd Bergmann
2018-12-10 21:58   ` Arnd Bergmann
2018-12-10 21:58   ` Arnd Bergmann
2018-12-11 10:05   ` Thierry Reding
2018-12-11 10:05     ` Thierry Reding
2018-12-11 10:08     ` Arnd Bergmann
2018-12-11 10:08       ` Arnd Bergmann
2018-12-11 10:28       ` Thierry Reding
2018-12-11 10:28         ` Thierry Reding
2018-12-12 21:57         ` Olof Johansson
2018-12-12 21:57           ` Olof Johansson
2018-12-10 21:58 ` [PATCH 3/4] ARM: ks8695: fix " Arnd Bergmann
2018-12-10 21:58   ` Arnd Bergmann
2018-12-12 21:56   ` Olof Johansson
2018-12-12 21:56     ` Olof Johansson
2018-12-10 21:58 ` [PATCH 4/4] ARM: pxa: avoid " Arnd Bergmann
2018-12-10 21:58   ` Arnd Bergmann
2018-12-11  9:39   ` Ulf Hansson
2018-12-11  9:39     ` Ulf Hansson
2018-12-11 10:10     ` Arnd Bergmann
2018-12-11 10:10       ` Arnd Bergmann
2018-12-11 10:44     ` Linus Walleij
2018-12-11 10:44       ` Linus Walleij
2018-12-12 21:56   ` Olof Johansson
2018-12-12 21:56     ` Olof Johansson
2018-12-10 22:09 ` [PATCH 1/4] ARM: omap2: " Tony Lindgren
2018-12-10 22:09   ` Tony Lindgren
2018-12-12 22:05   ` Olof Johansson
2018-12-12 22:05     ` Olof Johansson
2018-12-11  2:11 ` Santosh Shilimkar
2018-12-11  2:11   ` Santosh Shilimkar
2018-12-11 18:12 ` Kevin Hilman
2018-12-11 18:12   ` Kevin Hilman
2018-12-11 18:12   ` Kevin Hilman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.