Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Joe Perches and committed by
Linus Torvalds
a9e5bfdb e0710e51

+4 -4
+2 -2
drivers/tty/serial/ioc3_serial.c
··· 377 377 * called per port from attach... 378 378 * @port: port to initialize 379 379 */ 380 - static int inline port_init(struct ioc3_port *port) 380 + static inline int port_init(struct ioc3_port *port) 381 381 { 382 382 uint32_t sio_cr; 383 383 struct port_hooks *hooks = port->ip_hooks; ··· 1430 1430 * @pending: interrupts to handle 1431 1431 */ 1432 1432 1433 - static int inline 1433 + static inline int 1434 1434 ioc3uart_intr_one(struct ioc3_submodule *is, 1435 1435 struct ioc3_driver_data *idd, 1436 1436 unsigned int pending)
+2 -2
drivers/tty/serial/ioc4_serial.c
··· 824 824 * called per port from attach... 825 825 * @port: port to initialize 826 826 */ 827 - static int inline port_init(struct ioc4_port *port) 827 + static inline int port_init(struct ioc4_port *port) 828 828 { 829 829 uint32_t sio_cr; 830 830 struct hooks *hooks = port->ip_hooks; ··· 1048 1048 * IOC4 with serial ports in the system. 1049 1049 * @idd: Master module data for this IOC4 1050 1050 */ 1051 - static int inline ioc4_attach_local(struct ioc4_driver_data *idd) 1051 + static inline int ioc4_attach_local(struct ioc4_driver_data *idd) 1052 1052 { 1053 1053 struct ioc4_port *port; 1054 1054 struct ioc4_port *ports[IOC4_NUM_SERIAL_PORTS];