Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2b56288 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -252,4 +252,4 @@ static int __init amiga_init_devices(void)
	return 0;
}

device_initcall(amiga_init_devices);
arch_initcall(amiga_init_devices);