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
7c1bce85
Commit
7c1bce85
authored
May 07, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB
minor -dj tree updates.
parent
6a3cd6f1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
drivers/usb/core/hub.h
drivers/usb/core/hub.h
+1
-0
drivers/usb/input/hid-core.c
drivers/usb/input/hid-core.c
+5
-5
drivers/usb/serial/usbserial.c
drivers/usb/serial/usbserial.c
+1
-1
No files found.
drivers/usb/core/hub.h
View file @
7c1bce85
...
...
@@ -9,6 +9,7 @@
*/
#include <linux/list.h>
#include <linux/compiler.h>
/* likely()/unlikely() */
/*
* Hub request types
...
...
drivers/usb/input/hid-core.c
View file @
7c1bce85
...
...
@@ -1477,20 +1477,20 @@ static void hid_disconnect(struct usb_device *dev, void *ptr)
{
struct
hid_device
*
hid
=
ptr
;
dbg
(
"cleanup called"
);
usb_unlink_urb
(
hid
->
urbin
);
usb_unlink_urb
(
hid
->
urbout
);
usb_unlink_urb
(
hid
->
urbctrl
);
if
(
hid
->
claimed
&
HID_CLAIMED_INPUT
)
hidinput_disconnect
(
hid
);
if
(
hid
->
claimed
&
HID_CLAIMED_HIDDEV
)
hiddev_disconnect
(
hid
);
usb_free_urb
(
hid
->
urbin
);
usb_free_urb
(
hid
->
urbctrl
);
if
(
hid
->
urbout
)
usb_free_urb
(
hid
->
urbout
);
if
(
hid
->
claimed
&
HID_CLAIMED_INPUT
)
hidinput_disconnect
(
hid
);
if
(
hid
->
claimed
&
HID_CLAIMED_HIDDEV
)
hiddev_disconnect
(
hid
);
hid_free_device
(
hid
);
}
...
...
drivers/usb/serial/usbserial.c
View file @
7c1bce85
...
...
@@ -1665,7 +1665,7 @@ EXPORT_SYMBOL(usb_serial_deregister);
#if 0
static kdev_t usb_console_device(struct console *co)
{
return
MKDEV
(SERIAL_TTY_MAJOR, co->index); /* TBD */
return
mk_kdev
(SERIAL_TTY_MAJOR, co->index); /* TBD */
}
#endif
...
...
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