[ARM] pxa: initialise SSP earlier
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 10 Dec 2007 15:35:54 +0000 (15:35 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Jan 2008 15:07:52 +0000 (15:07 +0000)
Initialise the SSP driver at arch_initcall() time, so it's available
for other drivers to use it.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/ssp.c

index b6d37fa..575b662 100644 (file)
@@ -524,7 +524,7 @@ static void __exit pxa_ssp_exit(void)
        platform_driver_unregister(&pxa27x_ssp_driver);
 }
 
-module_init(pxa_ssp_init);
+arch_initcall(pxa_ssp_init);
 module_exit(pxa_ssp_exit);
 
 EXPORT_SYMBOL(ssp_write_word);