diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2015-04-25 18:43:45 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2015-06-03 14:44:32 +0800 |
commit | 0c831317e77b55612ffa1b402b262983bc7001d2 (patch) | |
tree | c6bbb91816665490ee00c63eb7f5955787bb824c /arch/arm/mach-imx/clk-imx27.c | |
parent | 3bec5f8184125ad4441905aee1856ef0a57b66b1 (diff) | |
download | talos-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.c | 8 |
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; |