summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/devices/platform-imx_dvfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-mxc/devices/platform-imx_dvfs.c')
-rwxr-xr-xarch/arm/plat-mxc/devices/platform-imx_dvfs.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-imx_dvfs.c b/arch/arm/plat-mxc/devices/platform-imx_dvfs.c
index 1f40fddc7b1b..ab8f78efe89e 100755
--- a/arch/arm/plat-mxc/devices/platform-imx_dvfs.c
+++ b/arch/arm/plat-mxc/devices/platform-imx_dvfs.c
@@ -15,6 +15,11 @@
.irq = soc ## _INT_GPC1, \
}
+#ifdef CONFIG_SOC_IMX50
+const struct imx_dvfs_core_data imx50_dvfs_core_data __initconst =
+ imx5_dvfs_core_data_entry_single(MX50);
+#endif /* ifdef CONFIG_SOC_IMX50 */
+
#ifdef CONFIG_SOC_IMX51
const struct imx_dvfs_core_data imx51_dvfs_core_data __initconst =
imx5_dvfs_core_data_entry_single(MX51);
@@ -41,13 +46,13 @@ struct platform_device *__init imx_add_dvfs_core(
},
};
- return imx_add_platform_device("mxc_dvfs_core", 0,
+ return imx_add_platform_device("imx_dvfscore", 0,
res, ARRAY_SIZE(res), pdata, sizeof(*pdata));
}
struct platform_device *__init imx_add_busfreq(
const struct mxc_bus_freq_platform_data *pdata)
{
- return imx_add_platform_device("busfreq", 0,
+ return imx_add_platform_device("imx_busfreq", 0,
NULL, 0, pdata, sizeof(*pdata));
}