From: Russell King Date: Mon, 27 Jun 2005 09:29:26 +0000 (+0100) Subject: [PATCH] Serial: Remove {un,}register_serial from 68328serial.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=addcc4a10f10ffde88b2ee6dc3af46fab6dff1e2;p=openwrt%2Fstaging%2Fblogic.git [PATCH] Serial: Remove {un,}register_serial from 68328serial.c 68328serial.c does not make use of register_serial/unregister_serial, which is traditionally used to register 8250-compatible UARTs with the 8250-compatible serial driver. Acked-by: David McCullough Signed-off-by: Russell King --- diff --git a/drivers/serial/68328serial.c b/drivers/serial/68328serial.c index feb8e73fc1c9..d27fb4c881d2 100644 --- a/drivers/serial/68328serial.c +++ b/drivers/serial/68328serial.c @@ -1497,23 +1497,6 @@ rs68328_init(void) return 0; } - - -/* - * register_serial and unregister_serial allows for serial ports to be - * configured at run-time, to support PCMCIA modems. - */ -/* SPARC: Unused at this time, just here to make things link. */ -int register_serial(struct serial_struct *req) -{ - return -1; -} - -void unregister_serial(int line) -{ - return; -} - module_init(rs68328_init);