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
Kirill Smelkov
linux
Commits
caa6e213
Commit
caa6e213
authored
Aug 22, 2003
by
CaT
Committed by
Greg Kroah-Hartman
Aug 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: C99: 2.6.0-t3-bk7/Documentation
parent
2492b740
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
Documentation/DocBook/writing_usb_driver.tmpl
Documentation/DocBook/writing_usb_driver.tmpl
+6
-6
Documentation/usb/hotplug.txt
Documentation/usb/hotplug.txt
+7
-7
No files found.
Documentation/DocBook/writing_usb_driver.tmpl
View file @
caa6e213
...
...
@@ -111,12 +111,12 @@
</para>
<programlisting>
static struct usb_driver skel_driver = {
name:
"skeleton",
probe:
skel_probe,
disconnect:
skel_disconnect,
fops:
&
skel_fops,
minor:
USB_SKEL_MINOR_BASE,
id_table:
skel_table,
.name =
"skeleton",
.probe =
skel_probe,
.disconnect =
skel_disconnect,
.fops =
&
skel_fops,
.minor =
USB_SKEL_MINOR_BASE,
.id_table =
skel_table,
};
</programlisting>
<para>
...
...
Documentation/usb/hotplug.txt
View file @
caa6e213
...
...
@@ -122,17 +122,17 @@ Drivers that connect directly to the USB subsystem should be declared
something like this:
static struct usb_driver mydriver = {
name:
"mydriver",
id_table:
mydriver_id_table,
probe:
my_probe,
disconnect:
my_disconnect,
.name =
"mydriver",
.id_table =
mydriver_id_table,
.probe =
my_probe,
.disconnect =
my_disconnect,
/*
if using the usb chardev framework:
minor:
MY_USB_MINOR_START,
fops:
my_file_ops,
.minor =
MY_USB_MINOR_START,
.fops =
my_file_ops,
if exposing any operations through usbdevfs:
ioctl:
my_ioctl,
.ioctl =
my_ioctl,
*/
}
...
...
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