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
e3e69f85
Commit
e3e69f85
authored
Dec 07, 2002
by
Arnaldo Carvalho de Melo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o stallion: use module_{init,exit}, {cleanup,init}_module now are macros
parent
d4bbb554
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
drivers/char/stallion.c
drivers/char/stallion.c
+5
-2
No files found.
drivers/char/stallion.c
View file @
e3e69f85
...
...
@@ -757,7 +757,7 @@ static struct file_operations stl_fsiomem = {
* Loadable module initialization stuff.
*/
int
init_module
(
)
static
int
__init
stallion_module_init
(
void
)
{
unsigned
long
flags
;
...
...
@@ -775,7 +775,7 @@ int init_module()
/*****************************************************************************/
void
cleanup_module
(
)
static
void
__exit
stallion_module_exit
(
void
)
{
stlbrd_t
*
brdp
;
stlpanel_t
*
panelp
;
...
...
@@ -851,6 +851,9 @@ void cleanup_module()
restore_flags
(
flags
);
}
module_init
(
stallion_module_init
);
module_exit
(
stallion_module_exit
);
/*****************************************************************************/
/*
...
...
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