summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2015-05-15 15:27:03 +0800
committerShawn Guo <shawn.guo@linaro.org>2015-06-03 14:52:29 +0800
commit2321f246e54abf544d3b9f781ade482b5471d37c (patch)
tree4614243dd5bce827a6f351a1ccaba04db93de37a /arch/arm
parentdb2ae4b4f6b79bd11d6461d41bd0966b0006f20b (diff)
downloadlinux-stable-2321f246e54abf544d3b9f781ade482b5471d37c.tar.gz
linux-stable-2321f246e54abf544d3b9f781ade482b5471d37c.tar.bz2
linux-stable-2321f246e54abf544d3b9f781ade482b5471d37c.zip
ARM: imx: remove platform headers from timer driver
With the cleanup done before, the platform specific headers now can be removed. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-imx/time.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-imx/time.c b/arch/arm/mach-imx/time.c
index 131f9b870c04..b4609283085b 100644
--- a/arch/arm/mach-imx/time.c
+++ b/arch/arm/mach-imx/time.c
@@ -36,9 +36,6 @@
#include <asm/mach/time.h>
-#include "common.h"
-#include "hardware.h"
-
/*
* There are 4 versions of the timer hardware on Freescale MXC hardware.
* - MX1/MXL
@@ -80,9 +77,6 @@
#define V2_TIMER_RATE_OSC_DIV8 3000000
-#define timer_is_v1() (cpu_is_mx1() || cpu_is_mx21() || cpu_is_mx27())
-#define timer_is_v2() (!timer_is_v1())
-
struct imx_timer {
enum imx_gpt_type type;
void __iomem *base;