aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAntonio Ospite <ospite@studenti.unina.it>2009-09-22 19:46:10 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 10:39:43 -0400
commit5b61a749e8fd0a45a5e37c267d20a43ef0590d68 (patch)
tree7de64f7634dd83f4589d2f7bf720c6d3c0689420 /drivers
parente0626e3844e8f430fc1a4417f523a00797df7ca6 (diff)
pxa2xx_spi: register earlier
Register pxa2xx_spi earlier so it can be used with cpufreq Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: David Brownell <dbrownell@users.sourceforge.net> Cc: Eric Miao <eric.y.miao@gmail.com> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Daniel Ribeiro <drwyrm@gmail.com> Cc: Samuel Ortiz <sameo@linux.intel.com> Cc: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/pxa2xx_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/pxa2xx_spi.c b/drivers/spi/pxa2xx_spi.c
index d949dbf1141f..31dd56f0dae9 100644
--- a/drivers/spi/pxa2xx_spi.c
+++ b/drivers/spi/pxa2xx_spi.c
@@ -1729,7 +1729,7 @@ static int __init pxa2xx_spi_init(void)
1729{ 1729{
1730 return platform_driver_probe(&driver, pxa2xx_spi_probe); 1730 return platform_driver_probe(&driver, pxa2xx_spi_probe);
1731} 1731}
1732module_init(pxa2xx_spi_init); 1732subsys_initcall(pxa2xx_spi_init);
1733 1733
1734static void __exit pxa2xx_spi_exit(void) 1734static void __exit pxa2xx_spi_exit(void)
1735{ 1735{