2013-05-26 13:03:10

by Baruch Siach

[permalink] [raw]
Subject: [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(-)

diff --git a/drivers/clocksource/dw_apb_timer_of.c b/drivers/clocksource/dw_apb_timer_of.c
index ab09ed3..5a61ebc 100644
--- a/drivers/clocksource/dw_apb_timer_of.c
+++ b/drivers/clocksource/dw_apb_timer_of.c
@@ -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,
--
1.7.10.4


2013-05-27 12:07:59

by Jamie Iles

[permalink] [raw]
Subject: Re: [PATCH 1/2] clocksource: dw_apb: remove unused header

On Sun, May 26, 2013 at 03:12:46PM +0300, Baruch Siach wrote:
> 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]>

Acked-by: Jamie Iles <[email protected]>

2013-05-28 20:34:22

by John Stultz

[permalink] [raw]
Subject: Re: [PATCH 1/2] clocksource: dw_apb: remove unused header

On 05/26/2013 05:12 AM, Baruch Siach wrote:
> 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]>
> ---
I've gone ahead and queued this for 3.11

thanks
-john