Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f6442a84
Commit
f6442a84
authored
May 14, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: convert pl2303 to use module_param()
parent
02eb8c10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
drivers/usb/serial/pl2303.c
drivers/usb/serial/pl2303.c
+3
-2
No files found.
drivers/usb/serial/pl2303.c
View file @
f6442a84
/*
/*
* Prolific PL2303 USB to serial adaptor driver
* Prolific PL2303 USB to serial adaptor driver
*
*
* Copyright (C) 2001-200
3
Greg Kroah-Hartman (greg@kroah.com)
* Copyright (C) 2001-200
4
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"
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment