diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2012-01-22 11:45:45 (GMT) |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2012-04-22 18:16:48 (GMT) |
commit | e2b56288af0c0b97c63aaaa667f2f3165971e911 (patch) | |
tree | 3518eca3f79f6dedbc9c1d7bf15aaecb9acc7a23 /arch/m68k | |
parent | eeed227966daed8c4171fe8bdd4e2275ab2cf94d (diff) | |
download | linux-fsl-qoriq-e2b56288af0c0b97c63aaaa667f2f3165971e911.tar.xz |
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/m68k')
-rw-r--r-- | arch/m68k/amiga/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |