diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2013-03-27 09:01:33 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-04-09 10:52:57 -0400 |
commit | 371b3f18c5a8c74debaebaa4312564995dd62c7b (patch) | |
tree | 17651ef06fcf1145086bb23114de25ad2a390ac0 /arch/arm/mach-imx/imx51-dt.c | |
parent | b91af27a3ca8d22e78789db1192a8b66d2985e99 (diff) |
ARM: imx5 DT init cpufreq-cpu0 device
Add cpufreq-cpu0 platform device for imx5 DT init and register the clock
for imx5.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/imx51-dt.c')
-rw-r--r-- | arch/arm/mach-imx/imx51-dt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/imx51-dt.c b/arch/arm/mach-imx/imx51-dt.c index e2926a8863f8..ab24cc322111 100644 --- a/arch/arm/mach-imx/imx51-dt.c +++ b/arch/arm/mach-imx/imx51-dt.c | |||
@@ -21,7 +21,10 @@ | |||
21 | 21 | ||
22 | static void __init imx51_dt_init(void) | 22 | static void __init imx51_dt_init(void) |
23 | { | 23 | { |
24 | struct platform_device_info devinfo = { .name = "cpufreq-cpu0", }; | ||
25 | |||
24 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | 26 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); |
27 | platform_device_register_full(&devinfo); | ||
25 | } | 28 | } |
26 | 29 | ||
27 | static const char *imx51_dt_board_compat[] __initdata = { | 30 | static const char *imx51_dt_board_compat[] __initdata = { |