USB: serial: usb_debug: Make static
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 9 Dec 2008 21:50:22 +0000 (22:50 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Jan 2009 18:00:03 +0000 (10:00 -0800)
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>
drivers/usb/serial/usb_debug.c

index fc5d9952b03b0aceb901d2f4fb0f95eb62d54bbd..6c9cbb59552a72626181b7ba6b5e9ee3811a1938 100644 (file)
@@ -31,7 +31,7 @@ static struct usb_driver debug_driver = {
        .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)
 {
        port->bulk_out_size = USB_DEBUG_MAX_PACKET_SIZE;