diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2013-01-17 03:26:29 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-01-29 01:05:39 -0500 |
commit | cd4842f55861202d8b1d8b1ed035f22014f0812c (patch) | |
tree | cc8e6be079c6bcda11af350f2384a5500e976b0c /arch | |
parent | 236d6ac0a1096b6ef833140e57fdfe1fed676bc6 (diff) |
ARM: imx: remove unused imx6q_clock_map_io()
imx6q_clock_map_io() becomes an empty function since imx6q clock driver
is moved to common clock framework. It's used nowhere now. Remove it.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/clk-imx6q.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/common.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-imx/mach-imx6q.c | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c index 7f2c10c7413a..c7e429bd32d0 100644 --- a/arch/arm/mach-imx/clk-imx6q.c +++ b/arch/arm/mach-imx/clk-imx6q.c | |||
@@ -56,8 +56,6 @@ | |||
56 | 56 | ||
57 | static void __iomem *ccm_base; | 57 | static void __iomem *ccm_base; |
58 | 58 | ||
59 | void __init imx6q_clock_map_io(void) { } | ||
60 | |||
61 | int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode) | 59 | int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode) |
62 | { | 60 | { |
63 | u32 val = readl_relaxed(ccm_base + CLPCR); | 61 | u32 val = readl_relaxed(ccm_base + CLPCR); |
diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h index 7191ab4434e5..7eb3bb2267b5 100644 --- a/arch/arm/mach-imx/common.h +++ b/arch/arm/mach-imx/common.h | |||
@@ -139,7 +139,6 @@ extern void imx_gpc_init(void); | |||
139 | extern void imx_gpc_pre_suspend(void); | 139 | extern void imx_gpc_pre_suspend(void); |
140 | extern void imx_gpc_post_resume(void); | 140 | extern void imx_gpc_post_resume(void); |
141 | extern int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode); | 141 | extern int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode); |
142 | extern void imx6q_clock_map_io(void); | ||
143 | 142 | ||
144 | extern void imx_cpu_die(unsigned int cpu); | 143 | extern void imx_cpu_die(unsigned int cpu); |
145 | 144 | ||
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 4eb1b3ac794c..a009df79fa0a 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c | |||
@@ -218,7 +218,6 @@ static void __init imx6q_map_io(void) | |||
218 | { | 218 | { |
219 | imx_lluart_map_io(); | 219 | imx_lluart_map_io(); |
220 | imx_scu_map_io(); | 220 | imx_scu_map_io(); |
221 | imx6q_clock_map_io(); | ||
222 | } | 221 | } |
223 | 222 | ||
224 | static const struct of_device_id imx6q_irq_match[] __initconst = { | 223 | static const struct of_device_id imx6q_irq_match[] __initconst = { |