[PATCH] ARM: tegra: fix section mismatch in tegra_pmc_parse_dt

Olof Johansson olof at lixom.net
Tue Jun 25 14:17:28 EDT 2013


On Fri, Jun 21, 2013 at 04:39:07PM -0600, Stephen Warren wrote:
> From: Stephen Warren <swarren at nvidia.com>
> 
> tegra_pmc_parse_dt() references __initconst data. Fix it to be __init.
> This matches its only usage; a call from tegra_pmc_init() which is
> already __init. This fixes:
> 
> WARNING: vmlinux.o(.text.unlikely+0x580): Section mismatch in reference
> from the function tegra_pmc_parse_dt() to the (unknown reference)
> .init.rodata:(unknown)
> 
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---

Applied to fixes-non-critical.


-Olof



More information about the linux-arm-kernel mailing list