Commit cd4842f5 authored by Shawn Guo's avatar Shawn Guo

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: default avatarShawn Guo <shawn.guo@linaro.org>
parent 236d6ac0
...@@ -56,8 +56,6 @@ ...@@ -56,8 +56,6 @@
static void __iomem *ccm_base; static void __iomem *ccm_base;
void __init imx6q_clock_map_io(void) { }
int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode) int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode)
{ {
u32 val = readl_relaxed(ccm_base + CLPCR); u32 val = readl_relaxed(ccm_base + CLPCR);
......
...@@ -139,7 +139,6 @@ extern void imx_gpc_init(void); ...@@ -139,7 +139,6 @@ extern void imx_gpc_init(void);
extern void imx_gpc_pre_suspend(void); extern void imx_gpc_pre_suspend(void);
extern void imx_gpc_post_resume(void); extern void imx_gpc_post_resume(void);
extern int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode); extern int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode);
extern void imx6q_clock_map_io(void);
extern void imx_cpu_die(unsigned int cpu); extern void imx_cpu_die(unsigned int cpu);
......
...@@ -218,7 +218,6 @@ static void __init imx6q_map_io(void) ...@@ -218,7 +218,6 @@ static void __init imx6q_map_io(void)
{ {
imx_lluart_map_io(); imx_lluart_map_io();
imx_scu_map_io(); imx_scu_map_io();
imx6q_clock_map_io();
} }
static const struct of_device_id imx6q_irq_match[] __initconst = { static const struct of_device_id imx6q_irq_match[] __initconst = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment