Skip to contentSkip to conversation

clocksource: dw_apb: remove unused header

PATCH In review Baruch Siach 3 participants 3 messages May 26, 2013 – May 28, 2013 Clocksource, clockevent drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 clocksource: dw_apb: remove unused header

The time.h header seems not to be used by current code. Removing this include allows the driver to build on other architecture that do not have this header.

Cc Ingo Molnar <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc John Stultz <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Jamie Iles <[email protected]>
Cc Dinh Nguyen <[email protected]>
---
 drivers/clocksource/dw_apb_timer_of.c |    1 -
 1 file changed, 1 deletion(-)
drivers/clocksource/dw_apb_timer_of.c +0 -1
index ab09ed3..5a61ebc 100644
@@ -21,7 +21,6 @@
 #include <linux/of_address.h>
 #include <linux/of_irq.h>
 
-#include <asm/mach/time.h>
 #include <asm/sched_clock.h>
 
 static void timer_get_base_and_rate(struct device_node *np,
Signature · 1 line
1.7.10.4
#2 lore raw
In reply to Baruch Siach
Quoted 11 lines · Baruch Siach

The time.h header seems not to be used by current code. Removing this include allows the driver to build on other architecture that do not have this header.

Cc Ingo Molnar <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc John Stultz <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Jamie Iles <[email protected]>
Cc Dinh Nguyen <[email protected]>

---

I've gone ahead and queued this for 3.11

thanks
-john