summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/clk-imx21.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2015-04-25 18:43:45 +0800
committerShawn Guo <shawn.guo@linaro.org>2015-06-03 14:44:32 +0800
commit0c831317e77b55612ffa1b402b262983bc7001d2 (patch)
treec6bbb91816665490ee00c63eb7f5955787bb824c /arch/arm/mach-imx/clk-imx21.c
parent3bec5f8184125ad4441905aee1856ef0a57b66b1 (diff)
downloadlinux-0c831317e77b55612ffa1b402b262983bc7001d2.tar.gz
linux-0c831317e77b55612ffa1b402b262983bc7001d2.tar.bz2
linux-0c831317e77b55612ffa1b402b262983bc7001d2.zip
ARM: imx: remove inclusions of platform headers
With the cleanup done before, we now can simply define base address and irq as needed in clock driver, to get those platform header inclusions removed. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/clk-imx21.c')
-rw-r--r--arch/arm/mach-imx/clk-imx21.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/clk-imx21.c b/arch/arm/mach-imx/clk-imx21.c
index bc4254dd40a1..0ca842cf4ca7 100644
--- a/arch/arm/mach-imx/clk-imx21.c
+++ b/arch/arm/mach-imx/clk-imx21.c
@@ -15,10 +15,13 @@
#include <linux/of.h>
#include <linux/of_address.h>
#include <dt-bindings/clock/imx21-clock.h>
+#include <asm/irq.h>
#include "clk.h"
-#include "common.h"
-#include "hardware.h"
+
+#define MX21_CCM_BASE_ADDR 0x10027000
+#define MX21_GPT1_BASE_ADDR 0x10003000
+#define MX21_INT_GPT1 (NR_IRQS_LEGACY + 26)
static void __iomem *ccm __initdata;