diff options
-rw-r--r-- | arch/frv/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/xtensa/platform-iss/console.c | 3 | ||||
-rw-r--r-- | drivers/char/amiserial.c | 4 |
3 files changed, 0 insertions, 9 deletions
diff --git a/arch/frv/kernel/setup.c b/arch/frv/kernel/setup.c index ef6865f0b979..767ebb55bd83 100644 --- a/arch/frv/kernel/setup.c +++ b/arch/frv/kernel/setup.c | |||
@@ -790,12 +790,10 @@ void __init setup_arch(char **cmdline_p) | |||
790 | #ifndef CONFIG_GDBSTUB_UART0 | 790 | #ifndef CONFIG_GDBSTUB_UART0 |
791 | __reg(UART0_BASE + UART_IER * 8) = 0; | 791 | __reg(UART0_BASE + UART_IER * 8) = 0; |
792 | early_serial_setup(&__frv_uart0); | 792 | early_serial_setup(&__frv_uart0); |
793 | // register_serial(&__frv_uart0); | ||
794 | #endif | 793 | #endif |
795 | #ifndef CONFIG_GDBSTUB_UART1 | 794 | #ifndef CONFIG_GDBSTUB_UART1 |
796 | __reg(UART1_BASE + UART_IER * 8) = 0; | 795 | __reg(UART1_BASE + UART_IER * 8) = 0; |
797 | early_serial_setup(&__frv_uart1); | 796 | early_serial_setup(&__frv_uart1); |
798 | // register_serial(&__frv_uart1); | ||
799 | #endif | 797 | #endif |
800 | 798 | ||
801 | #if defined(CONFIG_CHR_DEV_FLASH) || defined(CONFIG_BLK_DEV_FLASH) | 799 | #if defined(CONFIG_CHR_DEV_FLASH) || defined(CONFIG_BLK_DEV_FLASH) |
diff --git a/arch/xtensa/platform-iss/console.c b/arch/xtensa/platform-iss/console.c index 9e2b53f6a907..4fbddf92a921 100644 --- a/arch/xtensa/platform-iss/console.c +++ b/arch/xtensa/platform-iss/console.c | |||
@@ -198,9 +198,6 @@ static int rs_read_proc(char *page, char **start, off_t off, int count, | |||
198 | } | 198 | } |
199 | 199 | ||
200 | 200 | ||
201 | int register_serial(struct serial_struct*); | ||
202 | void unregister_serial(int); | ||
203 | |||
204 | static struct tty_operations serial_ops = { | 201 | static struct tty_operations serial_ops = { |
205 | .open = rs_open, | 202 | .open = rs_open, |
206 | .close = rs_close, | 203 | .close = rs_close, |
diff --git a/drivers/char/amiserial.c b/drivers/char/amiserial.c index 777bc499bbbd..2a36561eec68 100644 --- a/drivers/char/amiserial.c +++ b/drivers/char/amiserial.c | |||
@@ -1973,10 +1973,6 @@ static _INLINE_ void show_serial_version(void) | |||
1973 | } | 1973 | } |
1974 | 1974 | ||
1975 | 1975 | ||
1976 | int register_serial(struct serial_struct *req); | ||
1977 | void unregister_serial(int line); | ||
1978 | |||
1979 | |||
1980 | static struct tty_operations serial_ops = { | 1976 | static struct tty_operations serial_ops = { |
1981 | .open = rs_open, | 1977 | .open = rs_open, |
1982 | .close = rs_close, | 1978 | .close = rs_close, |