diff options
Diffstat (limited to 'arch/arm/mach-tegra/tegra2_clocks.c')
-rw-r--r-- | arch/arm/mach-tegra/tegra2_clocks.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/tegra2_clocks.c b/arch/arm/mach-tegra/tegra2_clocks.c index 0fe9b3ee2947..3325cd6b7f28 100644 --- a/arch/arm/mach-tegra/tegra2_clocks.c +++ b/arch/arm/mach-tegra/tegra2_clocks.c | |||
@@ -166,13 +166,13 @@ static DEFINE_SPINLOCK(clock_register_lock); | |||
166 | static int tegra_periph_clk_enable_refcount[3 * 32]; | 166 | static int tegra_periph_clk_enable_refcount[3 * 32]; |
167 | 167 | ||
168 | #define clk_writel(value, reg) \ | 168 | #define clk_writel(value, reg) \ |
169 | __raw_writel(value, (u32)reg_clk_base + (reg)) | 169 | __raw_writel(value, reg_clk_base + (reg)) |
170 | #define clk_readl(reg) \ | 170 | #define clk_readl(reg) \ |
171 | __raw_readl((u32)reg_clk_base + (reg)) | 171 | __raw_readl(reg_clk_base + (reg)) |
172 | #define pmc_writel(value, reg) \ | 172 | #define pmc_writel(value, reg) \ |
173 | __raw_writel(value, (u32)reg_pmc_base + (reg)) | 173 | __raw_writel(value, reg_pmc_base + (reg)) |
174 | #define pmc_readl(reg) \ | 174 | #define pmc_readl(reg) \ |
175 | __raw_readl((u32)reg_pmc_base + (reg)) | 175 | __raw_readl(reg_pmc_base + (reg)) |
176 | 176 | ||
177 | unsigned long clk_measure_input_freq(void) | 177 | unsigned long clk_measure_input_freq(void) |
178 | { | 178 | { |