]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] fix section mismatch warning in board-sam9260
authorSam Ravnborg <sam@ravnborg.org>
Thu, 26 Apr 2007 07:04:39 +0000 (00:04 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 28 Apr 2007 09:26:47 +0000 (10:26 +0100)
commit3e18c8dd0d3456f96e13bc2e72197bfae11d8501
tree050731ddcd2321e2a41544988f09abd4b5d3d038
parent5d01f133412b0e27b340ab1bbb2cf0017329ae61
[ARM] fix section mismatch warning in board-sam9260

Andrew Morton found a section mismatch warning in x86_64 triggered by a
wrongly placed __initdata marker.

git grep "struct __initdata" revealed that board-sam9260.c had the same
problem.

This patch fixes this by placing the __initdata marker correct.  It was
checked with objdump that the variable was moved to .init.data by this
change.

Fixed an unrelated section mismatch warning while touching the file.

Both changes are only compile tested but obvious correct.
[Used at91sam9260ek_defconfig to get compile coverage]

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91/board-sam9260ek.c