summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/clk-imx27.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-imx27.c
parent3bec5f8184125ad4441905aee1856ef0a57b66b1 (diff)
downloadtalos-obmc-linux-0c831317e77b55612ffa1b402b262983bc7001d2.tar.gz
talos-obmc-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-imx27.c')
-rw-r--r--arch/arm/mach-imx/clk-imx27.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/clk-imx27.c b/arch/arm/mach-imx/clk-imx27.c
index 530af09c6bc7..df2dfc081c71 100644
--- a/arch/arm/mach-imx/clk-imx27.c
+++ b/arch/arm/mach-imx/clk-imx27.c
@@ -5,10 +5,14 @@
#include <linux/of.h>
#include <linux/of_address.h>
#include <dt-bindings/clock/imx27-clock.h>
+#include <soc/imx/revision.h>
+#include <asm/irq.h>
#include "clk.h"
-#include "common.h"
-#include "hardware.h"
+
+#define MX27_CCM_BASE_ADDR 0x10027000
+#define MX27_GPT1_BASE_ADDR 0x10003000
+#define MX27_INT_GPT1 (NR_IRQS_LEGACY + 26)
static void __iomem *ccm __initdata;
OpenPOWER on IntegriCloud