]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 4810/1: - Fix 'section mismatch' building warnings
authorKristoffer Ericson <kristoffer.ericson@gmail.com>
Sun, 3 Feb 2008 21:08:10 +0000 (22:08 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Feb 2008 13:14:07 +0000 (13:14 +0000)
commitd0aa6112ad74f80b03fb1b5710e479fc1665dbdd
treedcdc4edf839f9ed8fa45f9575407618f1b63e272
parent847d86528f35199fa0731c8d160419054d1a3155
[ARM] 4810/1: - Fix 'section mismatch' building warnings

Warning message :
WARNING: vmlinux.o(.text+0x9afc): Section mismatch: reference to .init.text:sa1110_mb_enable (between 'sa1111_probe' and 'sa1111_remove')
WARNING: vmlinux.o(.text+0x13b1ac): Section mismatch: reference to .init.text:pcmcia_jornada720_init (between 'pcmcia_probe' and 'pcmcia_remove')

* fixes the 'section mismatch' building warnings for target sa1100. Solution is __init -> __devinit. Thanks to Randy Dunlap for pointing out the solution.

Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-sa1100/generic.c
drivers/pcmcia/sa1100_jornada720.c