#include <asm/uaccess.h>
#include <linux/usb.h>
-#ifdef CONFIG_USB_SERIAL_DEBUG
- static int debug = 1;
-#else
- static int debug;
-#endif
-
+static int debug;
struct ezusb_hex_record {
__u16 address;
usb_set_serial_port_data(serial->port[0], priv);
init_waitqueue_head(&serial->port[0]->write_wait);
INIT_WORK(&priv->wakeup_work, (void *)keyspan_pda_wakeup_write,
- (void *)(&serial->port[0]));
+ (void *)(serial->port[0]));
INIT_WORK(&priv->unthrottle_work,
(void *)keyspan_pda_request_unthrottle,
(void *)(serial));
MODULE_DESCRIPTION( DRIVER_DESC );
MODULE_LICENSE("GPL");
-MODULE_PARM(debug, "i");
+module_param(debug, bool, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(debug, "Debug enabled or not");