#include <linux/module.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h>
-
-#ifdef CONFIG_USB_SERIAL_DEBUG
- static int debug = 1;
- #define DEBUG
-#else
- static int debug;
- #undef DEBUG
-#endif
-
#include <linux/usb.h>
-
#include "usb-serial.h"
#include "keyspan.h"
+static int debug;
+
/*
* Version Information
*/
stop_urb(p_priv->out_urbs[i]);
}
}
- port->tty = 0;
+ port->tty = NULL;
}
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");