diff options
Diffstat (limited to 'arch/arm/mach-imx/clk-imx35.c')
-rw-r--r-- | arch/arm/mach-imx/clk-imx35.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/clk-imx35.c b/arch/arm/mach-imx/clk-imx35.c index f0727e80815d..74e3a34d78b8 100644 --- a/arch/arm/mach-imx/clk-imx35.c +++ b/arch/arm/mach-imx/clk-imx35.c | |||
@@ -67,13 +67,13 @@ enum mx35_clks { | |||
67 | 67 | ||
68 | static struct clk *clk[clk_max]; | 68 | static struct clk *clk[clk_max]; |
69 | 69 | ||
70 | int __init mx35_clocks_init() | 70 | int __init mx35_clocks_init(void) |
71 | { | 71 | { |
72 | void __iomem *base = MX35_IO_ADDRESS(MX35_CCM_BASE_ADDR); | 72 | void __iomem *base = MX35_IO_ADDRESS(MX35_CCM_BASE_ADDR); |
73 | u32 pdr0, consumer_sel, hsp_sel; | 73 | u32 pdr0, consumer_sel, hsp_sel; |
74 | struct arm_ahb_div *aad; | 74 | struct arm_ahb_div *aad; |
75 | unsigned char *hsp_div; | 75 | unsigned char *hsp_div; |
76 | int i; | 76 | u32 i; |
77 | 77 | ||
78 | pdr0 = __raw_readl(base + MXC_CCM_PDR0); | 78 | pdr0 = __raw_readl(base + MXC_CCM_PDR0); |
79 | consumer_sel = (pdr0 >> 16) & 0xf; | 79 | consumer_sel = (pdr0 >> 16) & 0xf; |