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
a08c2ca8
Commit
a08c2ca8
authored
Dec 30, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: fix up init_module and cleanup_module mess in speedtouch driver
parent
3c363821
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
14 deletions
+4
-14
drivers/usb/misc/speedtouch.c
drivers/usb/misc/speedtouch.c
+4
-14
No files found.
drivers/usb/misc/speedtouch.c
View file @
a08c2ca8
...
...
@@ -1007,7 +1007,7 @@ static void udsl_usb_disconnect (struct usb_interface *intf)
*
****************************************************************************/
int
udsl_usb_init
(
void
)
static
int
udsl_usb_init
(
void
)
{
int
i
;
...
...
@@ -1022,25 +1022,15 @@ int udsl_usb_init (void)
return
usb_register
(
&
udsl_usb_driver
);
}
int
udsl_usb_cleanup
(
void
)
static
void
udsl_usb_cleanup
(
void
)
{
/* killing threads */
udsl_atm_sar_stop
();
usb_deregister
(
&
udsl_usb_driver
);
return
0
;
}
#ifdef MODULE
int
init_module
(
void
)
{
return
udsl_usb_init
();
}
int
cleanup_module
(
void
)
{
return
udsl_usb_cleanup
();
}
#endif
module_init
(
udsl_usb_init
);
module_exit
(
udsl_usb_cleanup
);
#ifdef DEBUG_PACKET
/*******************************************************************************
...
...
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