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
d4bbb554
Commit
d4bbb554
authored
Dec 07, 2002
by
Arnaldo Carvalho de Melo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o istallion: use module_{init,exit}, {cleanup,init}_module now are macros
parent
f548411b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
drivers/char/istallion.c
drivers/char/istallion.c
+5
-3
No files found.
drivers/char/istallion.c
View file @
d4bbb554
...
@@ -796,7 +796,6 @@ static struct file_operations stli_fsiomem = {
...
@@ -796,7 +796,6 @@ static struct file_operations stli_fsiomem = {
* not increase character latency by much either...
* not increase character latency by much either...
*/
*/
static
struct
timer_list
stli_timerlist
=
TIMER_INITIALIZER
(
stli_poll
,
0
,
0
);
static
struct
timer_list
stli_timerlist
=
TIMER_INITIALIZER
(
stli_poll
,
0
,
0
);
}
;
static
int
stli_timeron
;
static
int
stli_timeron
;
...
@@ -813,7 +812,7 @@ static int stli_timeron;
...
@@ -813,7 +812,7 @@ static int stli_timeron;
* Loadable module initialization stuff.
* Loadable module initialization stuff.
*/
*/
int
init_module
(
)
static
int
__init
istallion_module_init
(
void
)
{
{
unsigned
long
flags
;
unsigned
long
flags
;
...
@@ -831,7 +830,7 @@ int init_module()
...
@@ -831,7 +830,7 @@ int init_module()
/*****************************************************************************/
/*****************************************************************************/
void
cleanup_module
(
)
static
void
__exit
istallion_module_exit
(
void
)
{
{
stlibrd_t
*
brdp
;
stlibrd_t
*
brdp
;
stliport_t
*
portp
;
stliport_t
*
portp
;
...
@@ -898,6 +897,9 @@ void cleanup_module()
...
@@ -898,6 +897,9 @@ void cleanup_module()
restore_flags
(
flags
);
restore_flags
(
flags
);
}
}
module_init
(
istallion_module_init
);
module_exit
(
istallion_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