diff options
author | eric miao <eric.miao@marvell.com> | 2008-02-03 21:07:09 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-04-19 06:29:04 -0400 |
commit | 4be35e236c4a0e346442d98de3e470cf87c4e947 (patch) | |
tree | 695484879f89212223df9f9163253bb828a84d54 /arch/arm/mach-pxa/pxa3xx.c | |
parent | 06b2666e89c85640c7eddd67e7bee292a9afeceb (diff) |
[ARM] pxa: move mfp sysdev registeration out for suspend/resume order
MFP configurations after resume should be done before the GPIO registers
are restored. Move the mfp sysdev registeration to the same place where
GPIO and IRQ sysdev(s) are registered to better control the order.
Signed-off-by: eric miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/pxa3xx.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa3xx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c index eedcec0bf3f0..85b1df3f69c9 100644 --- a/arch/arm/mach-pxa/pxa3xx.c +++ b/arch/arm/mach-pxa/pxa3xx.c | |||
@@ -532,6 +532,8 @@ static struct sys_device pxa3xx_sysdev[] = { | |||
532 | { | 532 | { |
533 | .cls = &pxa_irq_sysclass, | 533 | .cls = &pxa_irq_sysclass, |
534 | }, { | 534 | }, { |
535 | .cls = &pxa3xx_mfp_sysclass, | ||
536 | }, { | ||
535 | .cls = &pxa_gpio_sysclass, | 537 | .cls = &pxa_gpio_sysclass, |
536 | }, | 538 | }, |
537 | }; | 539 | }; |