aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-12-10 15:35:54 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-01-26 15:07:52 +0000
commitcae0554126e0545f8fc37282db7a906df1ec5c3c (patch)
treedf20d5690f213753a4367a6384b88db81c116a1c /arch
parent16f159b1fc4f227a25cc4792e3804353e4777ebe (diff)
[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 <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-pxa/ssp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/ssp.c b/arch/arm/mach-pxa/ssp.c
index b6d37fa7b85..575b662200a 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);