From: Ramax Lo Date: Fri, 10 Jul 2009 11:30:56 +0000 (+0800) Subject: ARM: S3C64XX: serial: Fix section mismatch warning X-Git-Tag: v2.6.31-rc6~40^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=909db80297ba65699a77d877f7bf618ba960f6fc;p=pandora-kernel.git 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 Signed-off-by: Ben Dooks --- Reading git-diff-tree failed