aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb/serial.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-18 11:05:17 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-18 11:05:17 -0400
commit3033bc8d74c1a9d9104b9f231283e780e6dd8de7 (patch)
treea8a319dd600364ef66ce565415d9efce229bef7e /include/linux/usb/serial.h
parentd3d6c328e5030da560dcbaaa9ced063d5ba93642 (diff)
USB: Serial: usb-serial: remove debug module parameter
Now that all usb-serial modules are only using dev_dbg() the debug module parameter does not do anything at all, so remove it to reduce any confusion if someone were to try to use it. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/serial.h')
-rw-r--r--include/linux/usb/serial.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h
index b2b6d159b26b..5808713aa492 100644
--- a/include/linux/usb/serial.h
+++ b/include/linux/usb/serial.h
@@ -307,11 +307,11 @@ extern int ezusb_set_reset(struct usb_device *dev, unsigned char reset_bit);
307 307
308/* USB Serial console functions */ 308/* USB Serial console functions */
309#ifdef CONFIG_USB_SERIAL_CONSOLE 309#ifdef CONFIG_USB_SERIAL_CONSOLE
310extern void usb_serial_console_init(int debug, int minor); 310extern void usb_serial_console_init(int minor);
311extern void usb_serial_console_exit(void); 311extern void usb_serial_console_exit(void);
312extern void usb_serial_console_disconnect(struct usb_serial *serial); 312extern void usb_serial_console_disconnect(struct usb_serial *serial);
313#else 313#else
314static inline void usb_serial_console_init(int debug, int minor) { } 314static inline void usb_serial_console_init(int minor) { }
315static inline void usb_serial_console_exit(void) { } 315static inline void usb_serial_console_exit(void) { }
316static inline void usb_serial_console_disconnect(struct usb_serial *serial) {} 316static inline void usb_serial_console_disconnect(struct usb_serial *serial) {}
317#endif 317#endif
@@ -333,7 +333,7 @@ extern void usb_serial_generic_throttle(struct tty_struct *tty);
333extern void usb_serial_generic_unthrottle(struct tty_struct *tty); 333extern void usb_serial_generic_unthrottle(struct tty_struct *tty);
334extern void usb_serial_generic_disconnect(struct usb_serial *serial); 334extern void usb_serial_generic_disconnect(struct usb_serial *serial);
335extern void usb_serial_generic_release(struct usb_serial *serial); 335extern void usb_serial_generic_release(struct usb_serial *serial);
336extern int usb_serial_generic_register(int debug); 336extern int usb_serial_generic_register(void);
337extern void usb_serial_generic_deregister(void); 337extern void usb_serial_generic_deregister(void);
338extern int usb_serial_generic_submit_read_urbs(struct usb_serial_port *port, 338extern int usb_serial_generic_submit_read_urbs(struct usb_serial_port *port,
339 gfp_t mem_flags); 339 gfp_t mem_flags);