diff options
author | Magnus Damm <damm@opensource.se> | 2012-05-02 08:47:27 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-02 17:14:13 -0400 |
commit | f73fa05b90eb8c0dd3230c364cf1107f4f8f3848 (patch) | |
tree | b28d870c2547a170be454c3584a51278ef8dd6af /include/linux/serial_8250.h | |
parent | e8155629ff19e05722ba057d1521baec270d780e (diff) |
serial8250: Introduce serial8250_register_8250_port()
Introduce yet another 8250 registration function.
This time it is serial8250_register_8250_port() and it
allows us to register 8250 hardware instances using struct
uart_8250_port. The new function makes it possible to
register 8250 hardware that makes use of 8250 specific
callbacks such as ->dl_read() and ->dl_write().
Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serial_8250.h')
-rw-r--r-- | include/linux/serial_8250.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/serial_8250.h b/include/linux/serial_8250.h index a522fd977aad..10dbce5205af 100644 --- a/include/linux/serial_8250.h +++ b/include/linux/serial_8250.h | |||
@@ -69,6 +69,7 @@ enum { | |||
69 | struct uart_port; | 69 | struct uart_port; |
70 | struct uart_8250_port; | 70 | struct uart_8250_port; |
71 | 71 | ||
72 | int serial8250_register_8250_port(struct uart_8250_port *); | ||
72 | int serial8250_register_port(struct uart_port *); | 73 | int serial8250_register_port(struct uart_port *); |
73 | void serial8250_unregister_port(int line); | 74 | void serial8250_unregister_port(int line); |
74 | void serial8250_suspend_port(int line); | 75 | void serial8250_suspend_port(int line); |