summaryrefslogtreecommitdiff
path: root/arch/m68k/amiga
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2012-01-22 12:25:55 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2012-04-22 20:16:48 +0200
commit943ce30806b93f69736270e5948e694e715f57a5 (patch)
treef15f629012331eb88e5c80b051be18fa6ddadcb6 /arch/m68k/amiga
parent2712a643ad9e99856f6e33ff3f35c5fa263d92fe (diff)
downloadlinux-riscv-943ce30806b93f69736270e5948e694e715f57a5.tar.gz
linux-riscv-943ce30806b93f69736270e5948e694e715f57a5.tar.bz2
linux-riscv-943ce30806b93f69736270e5948e694e715f57a5.zip
m68k/amiga: Mark z_dev_present() __init
It's called from amiga_init_devices() only, which is __init. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/amiga')
-rw-r--r--arch/m68k/amiga/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/amiga/platform.c b/arch/m68k/amiga/platform.c
index 7fd8b41723ea..1b8db5cc3c5a 100644
--- 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;