From: Russell King Date: Mon, 10 Dec 2007 15:35:54 +0000 (+0000) Subject: [ARM] pxa: initialise SSP earlier X-Git-Tag: firefly_0821_release~23668^2^2~39 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cae0554126e0545f8fc37282db7a906df1ec5c3c;p=firefly-linux-kernel-4.4.55.git [ARM] pxa: initialise SSP earlier Initialise the SSP driver at arch_initcall() time, so it's available for other drivers to use it. Signed-off-by: Russell King --- diff --git a/arch/arm/mach-pxa/ssp.c b/arch/arm/mach-pxa/ssp.c index b6d37fa7b85f..575b662200a7 100644 --- a/arch/arm/mach-pxa/ssp.c +++ b/arch/arm/mach-pxa/ssp.c @@ -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);