From: Roel Kluin Date: Tue, 9 Dec 2008 21:50:22 +0000 (+0100) Subject: USB: serial: usb_debug: Make static X-Git-Tag: v2.6.29-rc1~182^2~66 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=619b572ae205cea26b147c2cec5ebf19974f4bb0;p=karo-tx-linux.git USB: serial: usb_debug: Make static Sparse asked whether these could be static. Signed-off-by: Roel Kluin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/usb_debug.c b/drivers/usb/serial/usb_debug.c index fc5d9952b03b..6c9cbb59552a 100644 --- a/drivers/usb/serial/usb_debug.c +++ b/drivers/usb/serial/usb_debug.c @@ -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;