]> git.ipfire.org Git - thirdparty/linux.git/commit
ARM: tegra: avoid section mismatch warning
authorArnd Bergmann <arnd@arndb.de>
Mon, 10 Dec 2018 21:58:37 +0000 (22:58 +0100)
committerOlof Johansson <olof@lixom.net>
Wed, 12 Dec 2018 21:57:55 +0000 (13:57 -0800)
commit4dd201beec9512c44d11ac97791a33f5c3536d7b
treeaf8c2605a934cb00c5265c38821cf6f61e273186
parent4aa64677330beeeed721b4b122884dabad845d66
ARM: tegra: avoid section mismatch warning

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 <arnd@arndb.de>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-tegra/irq.c