From: Florian Fainelli Date: Tue, 11 May 2010 09:20:14 +0000 (+0200) Subject: MIPS: AR7: prevent race between clock initialization and devices registration X-Git-Tag: v2.6.35-rc1~443^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=142a2ceea793b4d134757c226daeb4101d649df0;p=pandora-kernel.git 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 Signed-off-by: Florian Fainelli To: linux-mips@linux-mips.org Cc: Ralf Baechle Patchwork: http://patchwork.linux-mips.org/patch/1212/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed