[ARM] pxa: initialise PXA devices before platform init code
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 19 Apr 2008 09:59:24 +0000 (10:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 19 Apr 2008 10:29:09 +0000 (11:29 +0100)
Initialise PXA devices before platform initialisation, so that
platforms can parent devices to these.

Acked-by: eric miao <ymiao3@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/pxa3xx.c

index c486c3055cfbbcac6e5ef32dbdb739d19bfa17bc..d9b5450aee5b68e227e1fbf96ad24ad396a3ac88 100644 (file)
@@ -313,4 +313,4 @@ static int __init pxa25x_init(void)
        return ret;
 }
 
-subsys_initcall(pxa25x_init);
+postcore_initcall(pxa25x_init);
index f910fe57fcc1cba0c9cfda25f3a01c4683ab6d0f..7a2449dd0fd4f19ebf7ac64c59290b7f4d8bd5b6 100644 (file)
@@ -396,4 +396,4 @@ static int __init pxa27x_init(void)
        return ret;
 }
 
-subsys_initcall(pxa27x_init);
+postcore_initcall(pxa27x_init);
index 604b68adc4baca5caff2e14f3daade8a3b5bd087..dde355e88fa1574d3760a778a4cb7bf8297d166a 100644 (file)
@@ -573,4 +573,4 @@ static int __init pxa3xx_init(void)
        return ret;
 }
 
-subsys_initcall(pxa3xx_init);
+postcore_initcall(pxa3xx_init);