summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2012-01-22 12:45:45 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2012-04-22 20:16:48 +0200
commite2b56288af0c0b97c63aaaa667f2f3165971e911 (patch)
tree3518eca3f79f6dedbc9c1d7bf15aaecb9acc7a23 /arch
parenteeed227966daed8c4171fe8bdd4e2275ab2cf94d (diff)
m68k/amiga: Use arch_initcall() for registering platform devices
module_init() maps to device_initcall(), opening the possibility of race conditions between platform_driver_probe() and registering platform devices. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch')
-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 28728918b295..80076d368b7e 100644
--- a/arch/m68k/amiga/platform.c
+++ b/arch/m68k/amiga/platform.c
@@ -252,4 +252,4 @@ static int __init amiga_init_devices(void)
return 0;
}
-device_initcall(amiga_init_devices);
+arch_initcall(amiga_init_devices);