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
80c2442e
Commit
80c2442e
authored
Sep 03, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[USB]: hiddev_exit() can no longer be __exit, called from init code now.
parent
6cea4e9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/usb/input/hiddev.c
drivers/usb/input/hiddev.c
+1
-1
include/linux/hiddev.h
include/linux/hiddev.h
+1
-1
No files found.
drivers/usb/input/hiddev.c
View file @
80c2442e
...
...
@@ -798,7 +798,7 @@ int __init hiddev_init(void)
return
usb_register
(
&
hiddev_driver
);
}
void
__exit
hiddev_exit
(
void
)
void
hiddev_exit
(
void
)
{
usb_deregister
(
&
hiddev_driver
);
devfs_remove
(
"usb/hid"
);
...
...
include/linux/hiddev.h
View file @
80c2442e
...
...
@@ -207,7 +207,7 @@ void hiddev_hid_event(struct hid_device *hid, struct hid_field *field,
struct
hid_usage
*
usage
,
__s32
value
,
struct
pt_regs
*
regs
);
void
hiddev_report_event
(
struct
hid_device
*
hid
,
struct
hid_report
*
report
);
int
__init
hiddev_init
(
void
);
void
__exit
hiddev_exit
(
void
);
void
hiddev_exit
(
void
);
#else
static
inline
int
hiddev_connect
(
struct
hid_device
*
hid
)
{
return
-
1
;
}
static
inline
void
hiddev_disconnect
(
struct
hid_device
*
hid
)
{
}
...
...
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