2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 04:03:58 +08:00
linux-next/arch/mips/ar7
Florian Fainelli 142a2ceea7 MIPS: AR7: prevent race between clock initialization and devices registration
ar7_regiser_devices needs ar7_clocks_init to have been called first,
however clock.o is currently linked later due to its order in the Makefile,
therefore ar7_clocks_init always gets called later than ar7_register_devices
because both have the same initcall level. Fix this by moving
ar7_register_devices to the right initcall level.

Reported-by: Michael J. Evans <mjevans1983@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
To: linux-mips@linux-mips.org
Cc: Ralf Baechle <ralf@linux-mips.org>
Patchwork: http://patchwork.linux-mips.org/patch/1212/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2010-05-21 21:31:22 +01:00
..
clock.c MIPS: AR7: Implement clock API 2010-02-27 12:53:16 +01:00
gpio.c MIPS: AR7: Whitespace hacking 2010-02-27 12:53:21 +01:00
irq.c MIPS: Add support for Texas Instruments AR7 System-on-a-Chip 2009-07-03 15:45:23 +01:00
Makefile MIPS: AR7: Override CFLAGS with -Werror 2009-08-03 17:52:46 +01:00
memory.c MIPS: AR7: Whitespace hacking 2010-02-27 12:53:21 +01:00
platform.c MIPS: AR7: prevent race between clock initialization and devices registration 2010-05-21 21:31:22 +01:00
prom.c MIPS: AR7: Whitespace hacking 2010-02-27 12:53:21 +01:00
setup.c MIPS: AR7: Whitespace hacking 2010-02-27 12:53:21 +01:00
time.c MIPS: AR7: Implement clock API 2010-02-27 12:53:16 +01:00