of_serial: fix section mismatch warnings
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>
Mon, 10 Mar 2008 18:43:35 +0000 (11:43 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 11 Mar 2008 01:01:17 +0000 (18:01 -0700)
commite84290dc79d30af3e95b38e670f80c0b5046bbf2
treeeb8a1d3315de74d70a960ecde38ed12ea37e1ea4
parent9f9351bbe34a9b12966b1fb6f7c21cfe128340c1
of_serial: fix section mismatch warnings

Fix the following section mismatches:

WARNING: drivers/built-in.o(.exit.text+0x5a): Section mismatch in reference from the function of_platform_serial_exit() to the variable .devinit.data:of_platform_serial_driver
The function __exit of_platform_serial_exit() references
a variable __devinitdata of_platform_serial_driver.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/of_serial.c