summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/ssp.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-12-10 16:35:54 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-01-26 16:07:52 +0100
commitcae0554126e0545f8fc37282db7a906df1ec5c3c (patch)
treedf20d5690f213753a4367a6384b88db81c116a1c /arch/arm/mach-pxa/ssp.c
parent[ARM] pxa: only register "cpld_irq" for the correct platform (diff)
downloadlinux-cae0554126e0545f8fc37282db7a906df1ec5c3c.tar.xz
linux-cae0554126e0545f8fc37282db7a906df1ec5c3c.zip
[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/arm/mach-pxa/ssp.c')
-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 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);