OSDN Git Service

USB: serial: ftdi_sio: move driver structure
authorJohan Hovold <johan@kernel.org>
Mon, 19 Sep 2022 13:24:55 +0000 (15:24 +0200)
committerJohan Hovold <johan@kernel.org>
Tue, 20 Sep 2022 07:45:49 +0000 (09:45 +0200)
commita8619505a7780e30db259e01a643eca621e963d3
tree82b0fd68f89a267a25c522e501f4f5d05fd80dcb
parentc142bdc5c7207018efa1928317b1e708eda05e09
USB: serial: ftdi_sio: move driver structure

Move the definition of the USB serial driver structure to the end of the
file where it is used and drop the now redundant forward declarations.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ftdi_sio.c