diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-26 16:14:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-26 16:14:01 -0400 |
commit | f465d145d76803fe6332092775d891c8c509aa44 (patch) | |
tree | 45889e2eee7e8288ef269e9b661111364a71c25f /arch/arm/mach-msm/board-msm7x30.c | |
parent | 30b842889eea1bea02dff55b13d2ddf07a46ce78 (diff) | |
parent | 80b9abf973462499c1a0110df47f62cc90361e2c (diff) |
Merge tag 'cleanup-initcall' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull sweeping late_initcall cleanup for arm-soc from Olof Johansson:
"This is a patch series from Shawn Guo that moves from individual
late_initcalls() to using a member in the machine structure to invoke
a platform's late initcalls.
This cleanup is a step in the move towards multiplatform kernels since
it would reduce the need to check for compatible platforms in each and
every initcall."
Fix up trivial conflicts in arch/arm/mach-{exynos/mach-universal_c210.c,
imx/mach-cpuimx51.c, omap2/board-generic.c} due to changes nearby (and,
in the case of cpuimx51.c the board support being deleted)
* tag 'cleanup-initcall' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
ARM: ux500: use machine specific hook for late init
ARM: tegra: use machine specific hook for late init
ARM: shmobile: use machine specific hook for late init
ARM: sa1100: use machine specific hook for late init
ARM: s3c64xx: use machine specific hook for late init
ARM: prima2: use machine specific hook for late init
ARM: pnx4008: use machine specific hook for late init
ARM: omap2: use machine specific hook for late init
ARM: omap1: use machine specific hook for late init
ARM: msm: use machine specific hook for late init
ARM: imx: use machine specific hook for late init
ARM: exynos: use machine specific hook for late init
ARM: ep93xx: use machine specific hook for late init
ARM: davinci: use machine specific hook for late init
ARM: provide a late_initcall hook for platform initialization
Diffstat (limited to 'arch/arm/mach-msm/board-msm7x30.c')
-rw-r--r-- | arch/arm/mach-msm/board-msm7x30.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/board-msm7x30.c b/arch/arm/mach-msm/board-msm7x30.c index 75b3cfcada6d..a5001378135d 100644 --- a/arch/arm/mach-msm/board-msm7x30.c +++ b/arch/arm/mach-msm/board-msm7x30.c | |||
@@ -119,6 +119,11 @@ static void __init msm7x30_map_io(void) | |||
119 | msm_clock_init(msm_clocks_7x30, msm_num_clocks_7x30); | 119 | msm_clock_init(msm_clocks_7x30, msm_num_clocks_7x30); |
120 | } | 120 | } |
121 | 121 | ||
122 | static void __init msm7x30_init_late(void) | ||
123 | { | ||
124 | smd_debugfs_init(); | ||
125 | } | ||
126 | |||
122 | MACHINE_START(MSM7X30_SURF, "QCT MSM7X30 SURF") | 127 | MACHINE_START(MSM7X30_SURF, "QCT MSM7X30 SURF") |
123 | .atag_offset = 0x100, | 128 | .atag_offset = 0x100, |
124 | .fixup = msm7x30_fixup, | 129 | .fixup = msm7x30_fixup, |
@@ -126,6 +131,7 @@ MACHINE_START(MSM7X30_SURF, "QCT MSM7X30 SURF") | |||
126 | .map_io = msm7x30_map_io, | 131 | .map_io = msm7x30_map_io, |
127 | .init_irq = msm7x30_init_irq, | 132 | .init_irq = msm7x30_init_irq, |
128 | .init_machine = msm7x30_init, | 133 | .init_machine = msm7x30_init, |
134 | .init_late = msm7x30_init_late, | ||
129 | .timer = &msm_timer, | 135 | .timer = &msm_timer, |
130 | MACHINE_END | 136 | MACHINE_END |
131 | 137 | ||
@@ -136,6 +142,7 @@ MACHINE_START(MSM7X30_FFA, "QCT MSM7X30 FFA") | |||
136 | .map_io = msm7x30_map_io, | 142 | .map_io = msm7x30_map_io, |
137 | .init_irq = msm7x30_init_irq, | 143 | .init_irq = msm7x30_init_irq, |
138 | .init_machine = msm7x30_init, | 144 | .init_machine = msm7x30_init, |
145 | .init_late = msm7x30_init_late, | ||
139 | .timer = &msm_timer, | 146 | .timer = &msm_timer, |
140 | MACHINE_END | 147 | MACHINE_END |
141 | 148 | ||
@@ -146,5 +153,6 @@ MACHINE_START(MSM7X30_FLUID, "QCT MSM7X30 FLUID") | |||
146 | .map_io = msm7x30_map_io, | 153 | .map_io = msm7x30_map_io, |
147 | .init_irq = msm7x30_init_irq, | 154 | .init_irq = msm7x30_init_irq, |
148 | .init_machine = msm7x30_init, | 155 | .init_machine = msm7x30_init, |
156 | .init_late = msm7x30_init_late, | ||
149 | .timer = &msm_timer, | 157 | .timer = &msm_timer, |
150 | MACHINE_END | 158 | MACHINE_END |