瀏覽代碼

ARM: imx53: add cpufreq support

Instanciate device for the generic cpufreq-dt driver.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Lucas Stach 11 年之前
父節點
當前提交
9a31634d46
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/arm/mach-imx/mach-imx53.c

+ 2 - 0
arch/arm/mach-imx/mach-imx53.c

@@ -41,6 +41,8 @@ static void __init imx53_dt_init(void)
 static void __init imx53_init_late(void)
 {
 	imx53_pm_init();
+
+	platform_device_register_simple("cpufreq-dt", -1, NULL, 0);
 }
 
 static const char * const imx53_dt_board_compat[] __initconst = {