diff mbox

clocksource: timer-imx-gpt: remove include of <asm/mach/time.h>

Message ID 1432905147-23754-1-git-send-email-shawn.guo@linaro.org
State Accepted
Commit cc013fa8dc302c5835465155da4799a1f0b4b06d
Headers show

Commit Message

Shawn Guo May 29, 2015, 1:12 p.m. UTC
The include of <asm/mach/time.h> is not needed at all, and causes build
error in powerpc allyesconfig.  Remove it.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
---
 drivers/clocksource/timer-imx-gpt.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Daniel Lezcano June 1, 2015, 8:45 a.m. UTC | #1
On 05/29/2015 03:12 PM, Shawn Guo wrote:
> The include of <asm/mach/time.h> is not needed at all, and causes build
> error in powerpc allyesconfig.  Remove it.
>
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>

Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
diff mbox

Patch

diff --git a/drivers/clocksource/timer-imx-gpt.c b/drivers/clocksource/timer-imx-gpt.c
index ec144ce9f880..a98d1104b3fd 100644
--- a/drivers/clocksource/timer-imx-gpt.c
+++ b/drivers/clocksource/timer-imx-gpt.c
@@ -34,8 +34,6 @@ 
 #include <linux/of_irq.h>
 #include <soc/imx/timer.h>
 
-#include <asm/mach/time.h>
-
 /*
  * There are 4 versions of the timer hardware on Freescale MXC hardware.
  *  - MX1/MXL