Instanciate the platform device for the i.MX5 specific
cpufreq driver.
Signed-off-by: Lucas Stach <[email protected]>
---
arch/arm/mach-imx/mach-imx53.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-imx/mach-imx53.c b/arch/arm/mach-imx/mach-imx53.c
index 65850908a4b4..ca90967c10b7 100644
--- a/arch/arm/mach-imx/mach-imx53.c
+++ b/arch/arm/mach-imx/mach-imx53.c
@@ -26,9 +26,12 @@
static void __init imx53_dt_init(void)
{
+ struct platform_device_info devinfo = { .name = "imx5-cpufreq", };
+
mxc_arch_reset_init_dt();
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
+ platform_device_register_full(&devinfo);
}
static const char *imx53_dt_board_compat[] __initconst = {
--
2.0.0.rc2
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html