diff options
author | Joe Perches <joe@perches.com> | 2017-07-12 14:37:37 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-12 16:26:04 -0700 |
commit | a9e5bfdb9d786efbc6995edfe6902788527457ad (patch) | |
tree | 9ada46f7ec2cd4ece42a3123f72cd5367f172c8c /drivers/tty/serial/ioc3_serial.c | |
parent | e0710e510c59602e4fa80d784c946e02e8968523 (diff) | |
download | linux-stable-a9e5bfdb9d786efbc6995edfe6902788527457ad.tar.gz linux-stable-a9e5bfdb9d786efbc6995edfe6902788527457ad.tar.bz2 linux-stable-a9e5bfdb9d786efbc6995edfe6902788527457ad.zip |
drivers: tty: serial: move inline before return type
Make the code like the rest of the kernel.
Link: http://lkml.kernel.org/r/55d3e89d50bb03d603bfb28019fab07f48bdc714.1499284835.git.joe@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Pat Gefre <pfg@sgi.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/tty/serial/ioc3_serial.c')
-rw-r--r-- | drivers/tty/serial/ioc3_serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/ioc3_serial.c b/drivers/tty/serial/ioc3_serial.c index 2a61dd6b4009..906ee770ff4a 100644 --- a/drivers/tty/serial/ioc3_serial.c +++ b/drivers/tty/serial/ioc3_serial.c @@ -377,7 +377,7 @@ static struct ioc3_port *get_ioc3_port(struct uart_port *the_port) * called per port from attach... * @port: port to initialize */ -static int inline port_init(struct ioc3_port *port) +static inline int port_init(struct ioc3_port *port) { uint32_t sio_cr; struct port_hooks *hooks = port->ip_hooks; @@ -1430,7 +1430,7 @@ static int receive_chars(struct uart_port *the_port) * @pending: interrupts to handle */ -static int inline +static inline int ioc3uart_intr_one(struct ioc3_submodule *is, struct ioc3_driver_data *idd, unsigned int pending) |