diff options
Diffstat (limited to 'drivers/serial/sunsu.c')
| -rw-r--r-- | drivers/serial/sunsu.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/drivers/serial/sunsu.c b/drivers/serial/sunsu.c index 7fc3d3b41d18..9fe2283d91e5 100644 --- a/drivers/serial/sunsu.c +++ b/drivers/serial/sunsu.c | |||
| @@ -102,9 +102,7 @@ struct uart_sunsu_port { | |||
| 102 | #endif | 102 | #endif |
| 103 | }; | 103 | }; |
| 104 | 104 | ||
| 105 | #define _INLINE_ | 105 | static unsigned int serial_in(struct uart_sunsu_port *up, int offset) |
| 106 | |||
| 107 | static _INLINE_ unsigned int serial_in(struct uart_sunsu_port *up, int offset) | ||
| 108 | { | 106 | { |
| 109 | offset <<= up->port.regshift; | 107 | offset <<= up->port.regshift; |
| 110 | 108 | ||
| @@ -121,8 +119,7 @@ static _INLINE_ unsigned int serial_in(struct uart_sunsu_port *up, int offset) | |||
| 121 | } | 119 | } |
| 122 | } | 120 | } |
| 123 | 121 | ||
| 124 | static _INLINE_ void | 122 | static void serial_out(struct uart_sunsu_port *up, int offset, int value) |
| 125 | serial_out(struct uart_sunsu_port *up, int offset, int value) | ||
| 126 | { | 123 | { |
| 127 | #ifndef CONFIG_SPARC64 | 124 | #ifndef CONFIG_SPARC64 |
| 128 | /* | 125 | /* |
| @@ -316,7 +313,7 @@ static void sunsu_enable_ms(struct uart_port *port) | |||
| 316 | spin_unlock_irqrestore(&up->port.lock, flags); | 313 | spin_unlock_irqrestore(&up->port.lock, flags); |
| 317 | } | 314 | } |
| 318 | 315 | ||
| 319 | static _INLINE_ struct tty_struct * | 316 | static struct tty_struct * |
| 320 | receive_chars(struct uart_sunsu_port *up, unsigned char *status, struct pt_regs *regs) | 317 | receive_chars(struct uart_sunsu_port *up, unsigned char *status, struct pt_regs *regs) |
| 321 | { | 318 | { |
| 322 | struct tty_struct *tty = up->port.info->tty; | 319 | struct tty_struct *tty = up->port.info->tty; |
| @@ -395,7 +392,7 @@ receive_chars(struct uart_sunsu_port *up, unsigned char *status, struct pt_regs | |||
| 395 | return tty; | 392 | return tty; |
| 396 | } | 393 | } |
| 397 | 394 | ||
| 398 | static _INLINE_ void transmit_chars(struct uart_sunsu_port *up) | 395 | static void transmit_chars(struct uart_sunsu_port *up) |
| 399 | { | 396 | { |
| 400 | struct circ_buf *xmit = &up->port.info->xmit; | 397 | struct circ_buf *xmit = &up->port.info->xmit; |
| 401 | int count; | 398 | int count; |
| @@ -431,7 +428,7 @@ static _INLINE_ void transmit_chars(struct uart_sunsu_port *up) | |||
| 431 | __stop_tx(up); | 428 | __stop_tx(up); |
| 432 | } | 429 | } |
| 433 | 430 | ||
| 434 | static _INLINE_ void check_modem_status(struct uart_sunsu_port *up) | 431 | static void check_modem_status(struct uart_sunsu_port *up) |
| 435 | { | 432 | { |
| 436 | int status; | 433 | int status; |
| 437 | 434 | ||
