diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-02-11 04:23:19 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-02-11 12:37:33 -0500 |
commit | e134fb2b40ca7e2d96ba460b0c844c6a9fa489c3 (patch) | |
tree | e124e8af68ec3ca6c01b9ed41e03ea9952fdaaca /arch/arm/mach-mx5/board-mx51_babbage.c | |
parent | 4bd597b633ae630e09d58957bd99870eac35fcb4 (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.c | 10 |
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 | */ |
344 | static void __init mxc_board_init(void) | 344 | static 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 | ||
398 | static struct sys_timer mxc_timer = { | 398 | static struct sys_timer mx51_babbage_timer = { |
399 | .init = mx51_babbage_timer_init, | 399 | .init = mx51_babbage_timer_init, |
400 | }; | 400 | }; |
401 | 401 | ||
402 | MACHINE_START(MX51_BABBAGE, "Freescale MX51 Babbage Board") | 402 | MACHINE_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, |
410 | MACHINE_END | 410 | MACHINE_END |