clocksource: dw_apb: remove unused header
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]>
Signed-off-by Baruch Siach <[email protected]>
--- drivers/clocksource/dw_apb_timer_of.c | 1 - 1 file changed, 1 deletion(-)
drivers/clocksource/dw_apb_timer_of.c +0 -1
@@ -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
Quoted 8 lines · Baruch Siach
The
time.hheader 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]>
Acked-by Jamie Iles <[email protected]>
Quoted 11 lines · Baruch Siach
The
time.hheader 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]>Signed-off-by Baruch Siach <[email protected]>---
I've gone ahead and queued this for 3.11
thanks
-john