Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11108
b: refs/heads/master
c: 778220f
h: refs/heads/master
v: v3
  • Loading branch information
Maciej W. Rozycki authored and Ralf Baechle committed Oct 29, 2005
1 parent 7924552 commit e8033a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a76f9fe122e0ba6ff95d3a4daa854e761f8a6a76
refs/heads/master: 778220f7c4a3357f7464a45044fd4937126ba6c5
8 changes: 5 additions & 3 deletions trunk/drivers/tc/tc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -177,15 +177,15 @@ 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;
unsigned long slot0addr;
unsigned long slot_size;

if (!TURBOCHANNEL)
return;
return 0;

for (i = 0; i < MAX_SLOT; i++) {
tc_bus[i].base_addr = 0;
Expand Down Expand Up @@ -246,6 +246,8 @@ void __init tc_init(void)
}
#endif
}

return 0;
}

subsys_initcall(tc_init);
Expand Down

0 comments on commit e8033a2

Please sign in to comment.