davinci: DA8XX/OMAP-L1XX: fix compiler warning
authorSudhakar Rajashekhara <sudhakar.raj@ti.com>
Tue, 3 Nov 2009 06:21:19 +0000 (11:51 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 25 Nov 2009 18:21:36 +0000 (10:21 -0800)
commit1ef203c3242c17da6559c4be1aa91c689d3efbb0
treebbb6607fd51a46235e87ddac1954bbc14d4d941b
parent039c5ee3c901aded685fbbfbbea636f2f3ffc0e2
davinci: DA8XX/OMAP-L1XX: fix compiler warning

When kernel is built with CONFIG_DEBUG_SECTION_MISMATCH=y
option, using da8xx_omapl_defconfig, some warnings are
observed:

WARNING: vmlinux.o(.text+0xc2a4): Section mismatch in reference
from the function da850_evm_setup_nor_nand() to the variable
.init.data:da850_nand_pins
The function da850_evm_setup_nor_nand() references
the variable __initdata da850_nand_pins.
This is often because da850_evm_setup_nor_nand lacks a __initdata
annotation or the annotation of da850_nand_pins is wrong.

This patch fixes such warnings.

Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/board-da830-evm.c
arch/arm/mach-davinci/board-da850-evm.c