diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2010-05-28 10:21:11 (GMT) |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-28 10:40:05 (GMT) |
commit | 5d66ceee78f74ca52661634f6f822a99cf406974 (patch) | |
tree | 70095ba910b9fc8f80f298b27ac336c5fbe1083a /drivers/serial/serial_core.c | |
parent | ece8ae4932703b37ea01222ea3e969a26692c871 (diff) | |
download | linux-fsl-qoriq-5d66ceee78f74ca52661634f6f822a99cf406974.tar.xz |
ARM: S5PV210: serial: Fix section mismatch warning
Rename the structure to avoid the following warning:
WARNING: drivers/serial/built-in.o(.data+0x534): Section mismatch in reference from the variable s5p_serial_drv to the function .devexit.text:s3c24xx_serial_remove()
The variable s5p_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: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/serial/serial_core.c')
0 files changed, 0 insertions, 0 deletions