diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2013-03-27 14:01:32 +0100 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-04-09 22:52:56 +0800 |
commit | b91af27a3ca8d22e78789db1192a8b66d2985e99 (patch) | |
tree | 1d6ce1118984c2958b7d9cb7a5946fc04eb5b243 /arch/arm/mach-imx/imx27-dt.c | |
parent | 420714aaa6c903eda657589c85c02a3f6ec57007 (diff) |
ARM: imx27 DT init cpufreq-cpu0 device
Adds cpufreq-cpu0 platform device for imx27 DT init and adds a clock
registration for cpufreq-cpu0 device.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/imx27-dt.c')
-rw-r--r-- | arch/arm/mach-imx/imx27-dt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/imx27-dt.c b/arch/arm/mach-imx/imx27-dt.c index 7ee59a718c7..4aaead0a77f 100644 --- a/arch/arm/mach-imx/imx27-dt.c +++ b/arch/arm/mach-imx/imx27-dt.c @@ -20,7 +20,11 @@ static void __init imx27_dt_init(void) { + struct platform_device_info devinfo = { .name = "cpufreq-cpu0", }; + of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); + + platform_device_register_full(&devinfo); } static const char * const imx27_dt_board_compat[] __initconst = { |