Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xcap-capability-linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xcap
xcap-capability-linux
Commits
778220f7
Commit
778220f7
authored
19 years ago
by
Maciej W. Rozycki
Committed by
Ralf Baechle
19 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix function types to ones appropriate for initcalls.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
a76f9fe1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/tc/tc.c
+5
-3
5 additions, 3 deletions
drivers/tc/tc.c
with
5 additions
and
3 deletions
drivers/tc/tc.c
+
5
−
3
View file @
778220f7
...
...
@@ -8,7 +8,7 @@
* for more details.
*
* Copyright (c) Harald Koerfgen, 1998
* Copyright (c) 2001, 2003 Maciej W. Rozycki
* Copyright (c) 2001, 2003
, 2005
Maciej W. Rozycki
*/
#include
<linux/string.h>
#include
<linux/init.h>
...
...
@@ -177,7 +177,7 @@ static void __init tc_probe(unsigned long startaddr, unsigned long size,
/*
* the main entry
*/
void
__init
tc_init
(
void
)
static
int
__init
tc_init
(
void
)
{
int
tc_clock
;
int
i
;
...
...
@@ -185,7 +185,7 @@ void __init tc_init(void)
unsigned
long
slot_size
;
if
(
!
TURBOCHANNEL
)
return
;
return
0
;
for
(
i
=
0
;
i
<
MAX_SLOT
;
i
++
)
{
tc_bus
[
i
].
base_addr
=
0
;
...
...
@@ -246,6 +246,8 @@ void __init tc_init(void)
}
#endif
}
return
0
;
}
subsys_initcall
(
tc_init
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment