Commit e2b56288 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent eeed2279
...@@ -252,4 +252,4 @@ static int __init amiga_init_devices(void) ...@@ -252,4 +252,4 @@ static int __init amiga_init_devices(void)
return 0; return 0;
} }
device_initcall(amiga_init_devices); arch_initcall(amiga_init_devices);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment