ARM: S3C64XX: serial: Fix section mismatch warning
authorRamax Lo <ramaxlo@gmail.com>
Fri, 10 Jul 2009 11:30:56 +0000 (19:30 +0800)
committerBen Dooks <ben-linux@fluff.org>
Thu, 30 Jul 2009 22:56:41 +0000 (23:56 +0100)
commit909db80297ba65699a77d877f7bf618ba960f6fc
treeba511ea415eed00c24b0a23137417a7a167fbbaf
parent8fe70a5f7167e02bbc18086970f0e92a5e55b80d
ARM: S3C64XX: serial: Fix section mismatch warning

Rename the structure to avoid the following warning:

WARNING: vmlinux.o(.data+0x11ef4): Section mismatch in reference from the variable
s3c6400_serial_drv to the function .devexit.text:s3c24xx_serial_remove()
The variable s3c6400_serial_drv references
the function __devexit s3c24xx_serial_remove()
If the reference is valid then annotate the
variable with __exit* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,

Signed-off-by: Ramax Lo <ramaxlo@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/serial/s3c6400.c