aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2008-06-12 06:49:08 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-07-09 16:38:32 -0400
commitd4a678080e83ff96e3933fa1e631cef3cda04bef (patch)
treeb742d2c3fb7de65821911ff9e0a741102a8c3b8a /arch/arm
parent6d3dfe4a3141476a3cf59ce6d2d1c25f9b5cfae8 (diff)
[ARM] pxa: embed body of pxa320_init_mfp()
pxa320_init_mfp() is simple enough to be embedded into pxa320_init() to simplify the code a bit. 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')
-rw-r--r--arch/arm/mach-pxa/pxa320.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/arm/mach-pxa/pxa320.c b/arch/arm/mach-pxa/pxa320.c
index 74128eb8f8d0..44ef0b95db00 100644
--- a/arch/arm/mach-pxa/pxa320.c
+++ b/arch/arm/mach-pxa/pxa320.c
@@ -74,16 +74,12 @@ static struct pxa3xx_mfp_addr_map pxa320_mfp_addr_map[] __initdata = {
74 MFP_ADDR_END, 74 MFP_ADDR_END,
75}; 75};
76 76
77static void __init pxa320_init_mfp(void)
78{
79 pxa3xx_init_mfp();
80 pxa3xx_mfp_init_addr(pxa320_mfp_addr_map);
81}
82
83static int __init pxa320_init(void) 77static int __init pxa320_init(void)
84{ 78{
85 if (cpu_is_pxa320()) 79 if (cpu_is_pxa320()) {
86 pxa320_init_mfp(); 80 pxa3xx_init_mfp();
81 pxa3xx_mfp_init_addr(pxa320_mfp_addr_map);
82 }
87 83
88 return 0; 84 return 0;
89} 85}