aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5/board-mx51_babbage.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2011-02-11 04:23:19 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2011-02-11 12:37:33 -0500
commite134fb2b40ca7e2d96ba460b0c844c6a9fa489c3 (patch)
treee124e8af68ec3ca6c01b9ed41e03ea9952fdaaca /arch/arm/mach-mx5/board-mx51_babbage.c
parent4bd597b633ae630e09d58957bd99870eac35fcb4 (diff)
ARM: mx3+mx5: rename mxc_board_init to ${machine}_init
mxc_board_init is too generic to be useful. Additionally change some mxc_timer to ${machine}_timer, too. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/board-mx51_babbage.c')
-rw-r--r--arch/arm/mach-mx5/board-mx51_babbage.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-mx5/board-mx51_babbage.c b/arch/arm/mach-mx5/board-mx51_babbage.c
index 7874bcd41db5..b2ecd194e76d 100644
--- a/arch/arm/mach-mx5/board-mx51_babbage.c
+++ b/arch/arm/mach-mx5/board-mx51_babbage.c
@@ -341,7 +341,7 @@ static const struct spi_imx_master mx51_babbage_spi_pdata __initconst = {
341/* 341/*
342 * Board specific initialization. 342 * Board specific initialization.
343 */ 343 */
344static void __init mxc_board_init(void) 344static void __init mx51_babbage_init(void)
345{ 345{
346 iomux_v3_cfg_t usbh1stp = MX51_PAD_USBH1_STP__USBH1_STP; 346 iomux_v3_cfg_t usbh1stp = MX51_PAD_USBH1_STP__USBH1_STP;
347 iomux_v3_cfg_t power_key = _MX51_PAD_EIM_A27__GPIO2_21 | 347 iomux_v3_cfg_t power_key = _MX51_PAD_EIM_A27__GPIO2_21 |
@@ -395,8 +395,8 @@ static void __init mx51_babbage_timer_init(void)
395 mx51_clocks_init(32768, 24000000, 22579200, 0); 395 mx51_clocks_init(32768, 24000000, 22579200, 0);
396} 396}
397 397
398static struct sys_timer mxc_timer = { 398static struct sys_timer mx51_babbage_timer = {
399 .init = mx51_babbage_timer_init, 399 .init = mx51_babbage_timer_init,
400}; 400};
401 401
402MACHINE_START(MX51_BABBAGE, "Freescale MX51 Babbage Board") 402MACHINE_START(MX51_BABBAGE, "Freescale MX51 Babbage Board")
@@ -405,6 +405,6 @@ MACHINE_START(MX51_BABBAGE, "Freescale MX51 Babbage Board")
405 .map_io = mx51_map_io, 405 .map_io = mx51_map_io,
406 .init_early = imx51_init_early, 406 .init_early = imx51_init_early,
407 .init_irq = mx51_init_irq, 407 .init_irq = mx51_init_irq,
408 .timer = &mxc_timer, 408 .timer = &mx51_babbage_timer,
409 .init_machine = mxc_board_init, 409 .init_machine = mx51_babbage_init,
410MACHINE_END 410MACHINE_END