summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/soc-imx23.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mxs/soc-imx23.c')
-rw-r--r--arch/arm/mach-mxs/soc-imx23.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/soc-imx23.c b/arch/arm/mach-mxs/soc-imx23.c
index 6819b3cf2e..4e450643a2 100644
--- a/arch/arm/mach-mxs/soc-imx23.c
+++ b/arch/arm/mach-mxs/soc-imx23.c
@@ -35,3 +35,12 @@ void __noreturn reset_cpu(unsigned long addr)
/*NOTREACHED*/
}
EXPORT_SYMBOL(reset_cpu);
+
+static int imx23_devices_init(void)
+{
+
+ add_generic_device("imx23-clkctrl", 0, NULL, IMX_CCM_BASE, 0x100, IORESOURCE_MEM, NULL);
+
+ return 0;
+}
+postcore_initcall(imx23_devices_init);