Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
778220f7
Commit
778220f7
authored
Jun 16, 2005
by
Maciej W. Rozycki
Committed by
Ralf Baechle
Oct 29, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix function types to ones appropriate for initcalls.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
a76f9fe1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
drivers/tc/tc.c
drivers/tc/tc.c
+5
-3
No files found.
drivers/tc/tc.c
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
);
...
...
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