mirror of https://gitee.com/openkylin/linux.git
USB: serial: usb_debug: Make static
Sparse asked whether these could be static. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
65bfd2967c
commit
619b572ae2
|
@ -31,7 +31,7 @@ static struct usb_driver debug_driver = {
|
||||||
.no_dynamic_id = 1,
|
.no_dynamic_id = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
int usb_debug_open(struct tty_struct *tty, struct usb_serial_port *port,
|
static int usb_debug_open(struct tty_struct *tty, struct usb_serial_port *port,
|
||||||
struct file *filp)
|
struct file *filp)
|
||||||
{
|
{
|
||||||
port->bulk_out_size = USB_DEBUG_MAX_PACKET_SIZE;
|
port->bulk_out_size = USB_DEBUG_MAX_PACKET_SIZE;
|
||||||
|
|
Loading…
Reference in New Issue