tty: serial: vt8500: fix annotations for probe/remove
authorWolfram Sang <w.sang@pengutronix.de>
Sun, 11 Mar 2012 14:02:38 +0000 (15:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Mar 2012 17:21:55 +0000 (10:21 -0700)
commit9abac8537c2cf435b251ca61e632d6a70a84077e
treec3ea2851202846e4b748be9285fba750a8968fcd
parent55e4016dd055e262e4b078b81c80b55386ead0f4
tty: serial: vt8500: fix annotations for probe/remove

Fixes:

WARNING: drivers/tty/serial/built-in.o(.data+0x30): Section mismatch in reference from the variable vt8500_platform_driver to the function .init.text:vt8500_serial_probe()
The variable vt8500_platform_driver references
the function __init vt8500_serial_probe()

And mark the remove pointer while we are here.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/vt8500_serial.c