From: Russell King Date: Sat, 19 Apr 2008 09:59:24 +0000 (+0100) Subject: [ARM] pxa: initialise PXA devices before platform init code X-Git-Tag: v2.6.26-rc1~1131^2~2^10~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c104e0e4f6ab396960c058e95e18bdedcac945b;p=linux-2.6 [ARM] pxa: initialise PXA devices before platform init code Initialise PXA devices before platform initialisation, so that platforms can parent devices to these. Acked-by: eric miao Signed-off-by: Russell King --- diff --git a/arch/arm/mach-pxa/pxa25x.c b/arch/arm/mach-pxa/pxa25x.c index c486c3055c..d9b5450aee 100644 --- a/arch/arm/mach-pxa/pxa25x.c +++ b/arch/arm/mach-pxa/pxa25x.c @@ -313,4 +313,4 @@ static int __init pxa25x_init(void) return ret; } -subsys_initcall(pxa25x_init); +postcore_initcall(pxa25x_init); diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c index f910fe57fc..7a2449dd0f 100644 --- a/arch/arm/mach-pxa/pxa27x.c +++ b/arch/arm/mach-pxa/pxa27x.c @@ -396,4 +396,4 @@ static int __init pxa27x_init(void) return ret; } -subsys_initcall(pxa27x_init); +postcore_initcall(pxa27x_init); diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c index 604b68adc4..dde355e88f 100644 --- a/arch/arm/mach-pxa/pxa3xx.c +++ b/arch/arm/mach-pxa/pxa3xx.c @@ -573,4 +573,4 @@ static int __init pxa3xx_init(void) return ret; } -subsys_initcall(pxa3xx_init); +postcore_initcall(pxa3xx_init);