diff options
author | 2016-06-22 14:39:41 +0200 | |
---|---|---|
committer | 2016-07-11 16:47:53 +0200 | |
commit | da35cbcafad3d46daa96a6f01022f11842e8e7b6 (patch) | |
tree | b098571e4069ca41a1bf83b3be878a183685628a /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ARM: tegra: pm: Add tegra_cpu_do_idle() prototype (diff) | |
download | linux-rng-da35cbcafad3d46daa96a6f01022f11842e8e7b6.tar.xz linux-rng-da35cbcafad3d46daa96a6f01022f11842e8e7b6.zip |
ARM: tegra: Remove board_init_funcs array
In a configuration that enables CONFIG_UBSAN_SANITIZE_ALL, I am getting
a section mismatch warning for tegra20:
WARNING: arch/arm/mach-tegra/built-in.o(.data+0x6e0): Section mismatch in reference from the variable board_init_funcs to the function .init.text:paz00_init()
The array is no longer useful here since there is only one entry,
so we can simply call the function directly after checking
of_machine_is_compatible(). This fixes the section mismatch
and is easier to read.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions