OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2712a64
)
m68k/amiga: Mark z_dev_present() __init
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Sun, 22 Jan 2012 11:25:55 +0000
(12:25 +0100)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Sun, 22 Apr 2012 18:16:48 +0000
(20:16 +0200)
It's called from amiga_init_devices() only, which is __init.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/amiga/platform.c
patch
|
blob
|
history
diff --git
a/arch/m68k/amiga/platform.c
b/arch/m68k/amiga/platform.c
index
7fd8b41
..
1b8db5c
100644
(file)
--- a/
arch/m68k/amiga/platform.c
+++ b/
arch/m68k/amiga/platform.c
@@
-57,7
+57,7
@@
static int __init amiga_init_bus(void)
subsys_initcall(amiga_init_bus);
-static int z_dev_present(zorro_id id)
+static int
__init
z_dev_present(zorro_id id)
{
unsigned int i;