]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaca1642dae6418354c873f7cd5f981843dbf9e0c
treeba511ea415eed00c24b0a23137417a7a167fbbaf
parent18fb985e5c600b7ed4a064d2a7480bc352cb9d14
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