summaryrefslogtreecommitdiffstats
path: root/drivers/parport
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-06-22 14:39:41 +0200
committerThierry Reding <treding@nvidia.com>2016-07-11 16:47:53 +0200
commitda35cbcafad3d46daa96a6f01022f11842e8e7b6 (patch)
treeb098571e4069ca41a1bf83b3be878a183685628a /drivers/parport
parentfa45caf2ee319fc8cb6ba5c7e6ff8cb36efc0d1a (diff)
downloadlinux-da35cbcafad3d46daa96a6f01022f11842e8e7b6.tar.bz2
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 'drivers/parport')
0 files changed, 0 insertions, 0 deletions