From e2b56288af0c0b97c63aaaa667f2f3165971e911 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Sun, 22 Jan 2012 12:45:45 +0100 Subject: 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 diff --git a/arch/m68k/amiga/platform.c b/arch/m68k/amiga/platform.c index 2872891..80076d3 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); -- cgit v0.10.2