|
@@ -122,6 +122,7 @@
|
|
|
#ifdef __KERNEL__
|
|
|
|
|
|
#include <linux/config.h>
|
|
|
+#include <linux/compiler.h>
|
|
|
#include <linux/interrupt.h>
|
|
|
#include <linux/circ_buf.h>
|
|
|
#include <linux/spinlock.h>
|
|
@@ -359,8 +360,8 @@ struct tty_driver *uart_console_device(struct console *co, int *index);
|
|
|
*/
|
|
|
int uart_register_driver(struct uart_driver *uart);
|
|
|
void uart_unregister_driver(struct uart_driver *uart);
|
|
|
-void uart_unregister_port(struct uart_driver *reg, int line);
|
|
|
-int uart_register_port(struct uart_driver *reg, struct uart_port *port);
|
|
|
+void __deprecated uart_unregister_port(struct uart_driver *reg, int line);
|
|
|
+int __deprecated uart_register_port(struct uart_driver *reg, struct uart_port *port);
|
|
|
int uart_add_one_port(struct uart_driver *reg, struct uart_port *port);
|
|
|
int uart_remove_one_port(struct uart_driver *reg, struct uart_port *port);
|
|
|
int uart_match_port(struct uart_port *port1, struct uart_port *port2);
|