summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/zylonite.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-01-23 15:40:15 +0100
committerArnd Bergmann <arnd@arndb.de>2015-02-18 12:20:25 +0100
commit31612d6484271ad6d4db5b4c8df366f35bded928 (patch)
tree63a569e982a6a742c36677a2de7f293c3f093961 /arch/arm/mach-pxa/zylonite.c
parentff34cae5b4fc7a84113d7c7e8611ba87a7c31dba (diff)
downloadblackbird-op-linux-31612d6484271ad6d4db5b4c8df366f35bded928.tar.gz
blackbird-op-linux-31612d6484271ad6d4db5b4c8df366f35bded928.zip
ARM: davinci: davinci_cfg_reg cannot be init
davinci_cfg_reg gets called from a lot of locations that might get called after the init section has been discarded, so the function itself must not be marked __init either. The kernel build currently warns about this with lots of messages like: WARNING: vmlinux.o(.text.unlikely+0x24c): Section mismatch in reference from the function dm365evm_mmc_configure() to the function .init.text:davinci_cfg_reg() The function dm365evm_mmc_configure() references the function __init davinci_cfg_reg(). This is often because dm365evm_mmc_configure lacks a __init annotation or the annotation of davinci_cfg_reg is wrong. This removes the extraneous __init_or_module annotation. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Sekhar Nori <nsekhar@ti.com> Cc: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-pxa/zylonite.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud