]> git.sur5r.net Git - u-boot/blobdiff - cpu/arm_cortexa8/mx51/clock.c
MX51: removed warnings for the mx51evk
[u-boot] / cpu / arm_cortexa8 / mx51 / clock.c
index 3c6f0c08ad16d4d03690bface1c7212927808d04..38480ac5a1af35aeafbb1af93be5dc8beb3f8275 100644 (file)
@@ -28,6 +28,7 @@
 #include <asm/errno.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/crm_regs.h>
+#include <asm/arch/clock.h>
 
 enum pll_clocks {
        PLL1_CLOCK = 0,
@@ -42,7 +43,7 @@ struct mxc_pll_reg *mxc_plls[PLL_CLOCKS] = {
        [PLL3_CLOCK] = (struct mxc_pll_reg *)PLL3_BASE_ADDR,
 };
 
-struct mxc_ccm_reg *mxc_ccm = MXC_CCM_BASE;
+struct mxc_ccm_reg *mxc_ccm = (struct mxc_ccm_reg *)MXC_CCM_BASE;
 
 /*
  * Calculate the frequency of this pll.