Commit f6442a84 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: convert pl2303 to use module_param()

parent 02eb8c10
/* /*
* Prolific PL2303 USB to serial adaptor driver * Prolific PL2303 USB to serial adaptor driver
* *
* Copyright (C) 2001-2003 Greg Kroah-Hartman (greg@kroah.com) * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com)
* Copyright (C) 2003 IBM Corp. * Copyright (C) 2003 IBM Corp.
* *
* Original driver for 2.2.x by anonymous * Original driver for 2.2.x by anonymous
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
#include <linux/tty_flip.h> #include <linux/tty_flip.h>
#include <linux/serial.h> #include <linux/serial.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/usb.h> #include <linux/usb.h>
...@@ -834,6 +835,6 @@ module_exit(pl2303_exit); ...@@ -834,6 +835,6 @@ module_exit(pl2303_exit);
MODULE_DESCRIPTION(DRIVER_DESC); MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_PARM(debug, "i"); module_param(debug, bool, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(debug, "Debug enabled or not"); MODULE_PARM_DESC(debug, "Debug enabled or not");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment