* [PATCH 00/13] ARM: shmobile: Rework ->init_time() / shmobile_timer_init()
@ 2013-07-31 19:01 ` Magnus Damm
0 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:01 UTC (permalink / raw)
To: linux-arm-kernel
ARM: shmobile: Rework ->init_time() / shmobile_timer_init()
[PATCH 01/13] ARM: shmobile: Use default ->init_time() on r8a73a4
[PATCH 02/13] ARM: shmobile: Use default ->init_time() on r8a7740
[PATCH 03/13] ARM: shmobile: Use default ->init_time() on r8a7778
[PATCH 04/13] ARM: shmobile: Use default ->init_time() on r8a7779
[PATCH 05/13] ARM: shmobile: Use default ->init_time() on Bockw
[PATCH 06/13] ARM: shmobile: Use default ->init_time() on Bockw DT ref
[PATCH 07/13] ARM: shmobile: Use default ->init_time() on Armadillo DT ref
[PATCH 08/13] ARM: shmobile: Use default ->init_time() on APE6EVM
[PATCH 09/13] ARM: shmobile: Use default ->init_time() on APE6EVM DT ref
[PATCH 10/13] ARM: shmobile: Use default ->init_time() on Marzen DT ref
[PATCH 11/13] ARM: shmobile: Use default ->init_time() on KZM9G DT ref
[PATCH 12/13] ARM: shmobile: Use clocksource_of_init() on r8a7790
[PATCH 13/13] ARM: shmobile: Remove unused shmobile_init_time()
Set ->init_time() to NULL to use the default ARM behaviour which
happens to be clocksource_of_init(). Also, replace the call to
shmobile_time_init() with clocksource_of_init(). Finally, remove
shmobile_init_time() that now is unused.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
Written against renesas.git renesas-devel-20130731 and
[PATCH 00/07] ARM: shmobile: sh73a0, r8a7779 and emev2 SMP SCU rework
[PATCH 00/02] ARM: shmobile: Per-CPU SMP boot / sleep code
arch/arm/mach-shmobile/board-ape6evm-reference.c | 1 -
arch/arm/mach-shmobile/board-ape6evm.c | 1 -
arch/arm/mach-shmobile/board-armadillo800eva-reference.c | 1 -
arch/arm/mach-shmobile/board-bockw-reference.c | 1 -
arch/arm/mach-shmobile/board-bockw.c | 1 -
arch/arm/mach-shmobile/board-kzm9g-reference.c | 1 -
arch/arm/mach-shmobile/board-marzen-reference.c | 1 -
arch/arm/mach-shmobile/include/mach/common.h | 1 -
arch/arm/mach-shmobile/setup-r8a73a4.c | 1 -
arch/arm/mach-shmobile/setup-r8a7740.c | 1 -
arch/arm/mach-shmobile/setup-r8a7778.c | 1 -
arch/arm/mach-shmobile/setup-r8a7779.c | 1 -
arch/arm/mach-shmobile/setup-r8a7790.c | 2 +-
arch/arm/mach-shmobile/timer.c | 4 ----
14 files changed, 1 insertion(+), 17 deletions(-)
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 00/13] ARM: shmobile: Rework ->init_time() / shmobile_timer_init()
@ 2013-07-31 19:01 ` Magnus Damm
0 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:01 UTC (permalink / raw)
To: linux-arm-kernel
ARM: shmobile: Rework ->init_time() / shmobile_timer_init()
[PATCH 01/13] ARM: shmobile: Use default ->init_time() on r8a73a4
[PATCH 02/13] ARM: shmobile: Use default ->init_time() on r8a7740
[PATCH 03/13] ARM: shmobile: Use default ->init_time() on r8a7778
[PATCH 04/13] ARM: shmobile: Use default ->init_time() on r8a7779
[PATCH 05/13] ARM: shmobile: Use default ->init_time() on Bockw
[PATCH 06/13] ARM: shmobile: Use default ->init_time() on Bockw DT ref
[PATCH 07/13] ARM: shmobile: Use default ->init_time() on Armadillo DT ref
[PATCH 08/13] ARM: shmobile: Use default ->init_time() on APE6EVM
[PATCH 09/13] ARM: shmobile: Use default ->init_time() on APE6EVM DT ref
[PATCH 10/13] ARM: shmobile: Use default ->init_time() on Marzen DT ref
[PATCH 11/13] ARM: shmobile: Use default ->init_time() on KZM9G DT ref
[PATCH 12/13] ARM: shmobile: Use clocksource_of_init() on r8a7790
[PATCH 13/13] ARM: shmobile: Remove unused shmobile_init_time()
Set ->init_time() to NULL to use the default ARM behaviour which
happens to be clocksource_of_init(). Also, replace the call to
shmobile_time_init() with clocksource_of_init(). Finally, remove
shmobile_init_time() that now is unused.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
Written against renesas.git renesas-devel-20130731 and
[PATCH 00/07] ARM: shmobile: sh73a0, r8a7779 and emev2 SMP SCU rework
[PATCH 00/02] ARM: shmobile: Per-CPU SMP boot / sleep code
arch/arm/mach-shmobile/board-ape6evm-reference.c | 1 -
arch/arm/mach-shmobile/board-ape6evm.c | 1 -
arch/arm/mach-shmobile/board-armadillo800eva-reference.c | 1 -
arch/arm/mach-shmobile/board-bockw-reference.c | 1 -
arch/arm/mach-shmobile/board-bockw.c | 1 -
arch/arm/mach-shmobile/board-kzm9g-reference.c | 1 -
arch/arm/mach-shmobile/board-marzen-reference.c | 1 -
arch/arm/mach-shmobile/include/mach/common.h | 1 -
arch/arm/mach-shmobile/setup-r8a73a4.c | 1 -
arch/arm/mach-shmobile/setup-r8a7740.c | 1 -
arch/arm/mach-shmobile/setup-r8a7778.c | 1 -
arch/arm/mach-shmobile/setup-r8a7779.c | 1 -
arch/arm/mach-shmobile/setup-r8a7790.c | 2 +-
arch/arm/mach-shmobile/timer.c | 4 ----
14 files changed, 1 insertion(+), 17 deletions(-)
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 01/13] ARM: shmobile: Use default ->init_time() on r8a73a4
2013-07-31 19:01 ` Magnus Damm
@ 2013-07-31 19:01 ` Magnus Damm
-1 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:01 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/setup-r8a73a4.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/setup-r8a73a4.c
+++ work/arch/arm/mach-shmobile/setup-r8a73a4.c 2013-08-01 02:58:37.000000000 +0900
@@ -223,7 +223,6 @@ static const char *r8a73a4_boards_compat
DT_MACHINE_START(R8A73A4_DT, "Generic R8A73A4 (Flattened Device Tree)")
.init_early = r8a73a4_init_delay,
- .init_time = shmobile_timer_init,
.dt_compat = r8a73a4_boards_compat_dt,
MACHINE_END
#endif /* CONFIG_USE_OF */
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 01/13] ARM: shmobile: Use default ->init_time() on r8a73a4
@ 2013-07-31 19:01 ` Magnus Damm
0 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:01 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/setup-r8a73a4.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/setup-r8a73a4.c
+++ work/arch/arm/mach-shmobile/setup-r8a73a4.c 2013-08-01 02:58:37.000000000 +0900
@@ -223,7 +223,6 @@ static const char *r8a73a4_boards_compat
DT_MACHINE_START(R8A73A4_DT, "Generic R8A73A4 (Flattened Device Tree)")
.init_early = r8a73a4_init_delay,
- .init_time = shmobile_timer_init,
.dt_compat = r8a73a4_boards_compat_dt,
MACHINE_END
#endif /* CONFIG_USE_OF */
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 02/13] ARM: shmobile: Use default ->init_time() on r8a7740
2013-07-31 19:01 ` Magnus Damm
@ 2013-07-31 19:01 ` Magnus Damm
-1 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:01 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/setup-r8a7740.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/setup-r8a7740.c
+++ work/arch/arm/mach-shmobile/setup-r8a7740.c 2013-08-01 03:00:48.000000000 +0900
@@ -1035,7 +1035,6 @@ DT_MACHINE_START(R8A7740_DT, "Generic R8
.init_early = r8a7740_init_delay,
.init_irq = r8a7740_init_irq_of,
.init_machine = r8a7740_generic_init,
- .init_time = shmobile_timer_init,
.dt_compat = r8a7740_boards_compat_dt,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 02/13] ARM: shmobile: Use default ->init_time() on r8a7740
@ 2013-07-31 19:01 ` Magnus Damm
0 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:01 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/setup-r8a7740.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/setup-r8a7740.c
+++ work/arch/arm/mach-shmobile/setup-r8a7740.c 2013-08-01 03:00:48.000000000 +0900
@@ -1035,7 +1035,6 @@ DT_MACHINE_START(R8A7740_DT, "Generic R8
.init_early = r8a7740_init_delay,
.init_irq = r8a7740_init_irq_of,
.init_machine = r8a7740_generic_init,
- .init_time = shmobile_timer_init,
.dt_compat = r8a7740_boards_compat_dt,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 03/13] ARM: shmobile: Use default ->init_time() on r8a7778
2013-07-31 19:01 ` Magnus Damm
@ 2013-07-31 19:01 ` Magnus Damm
-1 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:01 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/setup-r8a7778.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/setup-r8a7778.c
+++ work/arch/arm/mach-shmobile/setup-r8a7778.c 2013-08-01 03:02:21.000000000 +0900
@@ -406,7 +406,6 @@ static const char *r8a7778_compat_dt[] _
DT_MACHINE_START(R8A7778_DT, "Generic R8A7778 (Flattened Device Tree)")
.init_early = r8a7778_init_delay,
.init_irq = r8a7778_init_irq_dt,
- .init_time = shmobile_timer_init,
.dt_compat = r8a7778_compat_dt,
.init_late = r8a7778_init_late,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 03/13] ARM: shmobile: Use default ->init_time() on r8a7778
@ 2013-07-31 19:01 ` Magnus Damm
0 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:01 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/setup-r8a7778.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/setup-r8a7778.c
+++ work/arch/arm/mach-shmobile/setup-r8a7778.c 2013-08-01 03:02:21.000000000 +0900
@@ -406,7 +406,6 @@ static const char *r8a7778_compat_dt[] _
DT_MACHINE_START(R8A7778_DT, "Generic R8A7778 (Flattened Device Tree)")
.init_early = r8a7778_init_delay,
.init_irq = r8a7778_init_irq_dt,
- .init_time = shmobile_timer_init,
.dt_compat = r8a7778_compat_dt,
.init_late = r8a7778_init_late,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 04/13] ARM: shmobile: Use default ->init_time() on r8a7779
2013-07-31 19:01 ` Magnus Damm
@ 2013-07-31 19:01 ` Magnus Damm
-1 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:01 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/setup-r8a7779.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/setup-r8a7779.c
+++ work/arch/arm/mach-shmobile/setup-r8a7779.c 2013-08-01 03:03:30.000000000 +0900
@@ -667,7 +667,6 @@ DT_MACHINE_START(R8A7779_DT, "Generic R8
.nr_irqs = NR_IRQS_LEGACY,
.init_irq = r8a7779_init_irq_dt,
.init_machine = r8a7779_add_standard_devices_dt,
- .init_time = shmobile_timer_init,
.init_late = r8a7779_init_late,
.dt_compat = r8a7779_compat_dt,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 04/13] ARM: shmobile: Use default ->init_time() on r8a7779
@ 2013-07-31 19:01 ` Magnus Damm
0 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:01 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/setup-r8a7779.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/setup-r8a7779.c
+++ work/arch/arm/mach-shmobile/setup-r8a7779.c 2013-08-01 03:03:30.000000000 +0900
@@ -667,7 +667,6 @@ DT_MACHINE_START(R8A7779_DT, "Generic R8
.nr_irqs = NR_IRQS_LEGACY,
.init_irq = r8a7779_init_irq_dt,
.init_machine = r8a7779_add_standard_devices_dt,
- .init_time = shmobile_timer_init,
.init_late = r8a7779_init_late,
.dt_compat = r8a7779_compat_dt,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 05/13] ARM: shmobile: Use default ->init_time() on Bockw
2013-07-31 19:01 ` Magnus Damm
@ 2013-07-31 19:01 ` Magnus Damm
-1 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:01 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-bockw.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/board-bockw.c
+++ work/arch/arm/mach-shmobile/board-bockw.c 2013-08-01 03:06:01.000000000 +0900
@@ -279,7 +279,6 @@ DT_MACHINE_START(BOCKW_DT, "bockw")
.init_early = r8a7778_init_delay,
.init_irq = r8a7778_init_irq_dt,
.init_machine = bockw_init,
- .init_time = shmobile_timer_init,
.dt_compat = bockw_boards_compat_dt,
.init_late = r8a7778_init_late,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 05/13] ARM: shmobile: Use default ->init_time() on Bockw
@ 2013-07-31 19:01 ` Magnus Damm
0 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:01 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-bockw.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/board-bockw.c
+++ work/arch/arm/mach-shmobile/board-bockw.c 2013-08-01 03:06:01.000000000 +0900
@@ -279,7 +279,6 @@ DT_MACHINE_START(BOCKW_DT, "bockw")
.init_early = r8a7778_init_delay,
.init_irq = r8a7778_init_irq_dt,
.init_machine = bockw_init,
- .init_time = shmobile_timer_init,
.dt_compat = bockw_boards_compat_dt,
.init_late = r8a7778_init_late,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 06/13] ARM: shmobile: Use default ->init_time() on Bockw DT ref
2013-07-31 19:01 ` Magnus Damm
@ 2013-07-31 19:02 ` Magnus Damm
-1 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:02 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-bockw-reference.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/board-bockw-reference.c
+++ work/arch/arm/mach-shmobile/board-bockw-reference.c 2013-08-01 03:07:13.000000000 +0900
@@ -57,6 +57,5 @@ DT_MACHINE_START(BOCKW_DT, "bockw")
.init_early = r8a7778_init_delay,
.init_irq = r8a7778_init_irq_dt,
.init_machine = bockw_init,
- .init_time = shmobile_timer_init,
.dt_compat = bockw_boards_compat_dt,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 06/13] ARM: shmobile: Use default ->init_time() on Bockw DT ref
@ 2013-07-31 19:02 ` Magnus Damm
0 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:02 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-bockw-reference.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/board-bockw-reference.c
+++ work/arch/arm/mach-shmobile/board-bockw-reference.c 2013-08-01 03:07:13.000000000 +0900
@@ -57,6 +57,5 @@ DT_MACHINE_START(BOCKW_DT, "bockw")
.init_early = r8a7778_init_delay,
.init_irq = r8a7778_init_irq_dt,
.init_machine = bockw_init,
- .init_time = shmobile_timer_init,
.dt_compat = bockw_boards_compat_dt,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 07/13] ARM: shmobile: Use default ->init_time() on Armadillo DT ref
2013-07-31 19:01 ` Magnus Damm
@ 2013-07-31 19:02 ` Magnus Damm
-1 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:02 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-armadillo800eva-reference.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/board-armadillo800eva-reference.c
+++ work/arch/arm/mach-shmobile/board-armadillo800eva-reference.c 2013-08-01 03:09:22.000000000 +0900
@@ -190,7 +190,6 @@ DT_MACHINE_START(ARMADILLO800EVA_DT, "ar
.init_early = r8a7740_init_delay,
.init_irq = r8a7740_init_irq_of,
.init_machine = eva_init,
- .init_time = shmobile_timer_init,
.init_late = shmobile_init_late,
.dt_compat = eva_boards_compat_dt,
.restart = eva_restart,
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 07/13] ARM: shmobile: Use default ->init_time() on Armadillo DT ref
@ 2013-07-31 19:02 ` Magnus Damm
0 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:02 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-armadillo800eva-reference.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/board-armadillo800eva-reference.c
+++ work/arch/arm/mach-shmobile/board-armadillo800eva-reference.c 2013-08-01 03:09:22.000000000 +0900
@@ -190,7 +190,6 @@ DT_MACHINE_START(ARMADILLO800EVA_DT, "ar
.init_early = r8a7740_init_delay,
.init_irq = r8a7740_init_irq_of,
.init_machine = eva_init,
- .init_time = shmobile_timer_init,
.init_late = shmobile_init_late,
.dt_compat = eva_boards_compat_dt,
.restart = eva_restart,
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 08/13] ARM: shmobile: Use default ->init_time() on APE6EVM
2013-07-31 19:01 ` Magnus Damm
@ 2013-07-31 19:02 ` Magnus Damm
-1 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:02 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-ape6evm.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/board-ape6evm.c
+++ work/arch/arm/mach-shmobile/board-ape6evm.c 2013-08-01 03:11:13.000000000 +0900
@@ -181,7 +181,6 @@ static const char *ape6evm_boards_compat
DT_MACHINE_START(APE6EVM_DT, "ape6evm")
.init_early = r8a73a4_init_delay,
- .init_time = shmobile_timer_init,
.init_machine = ape6evm_add_standard_devices,
.dt_compat = ape6evm_boards_compat_dt,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 08/13] ARM: shmobile: Use default ->init_time() on APE6EVM
@ 2013-07-31 19:02 ` Magnus Damm
0 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:02 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-ape6evm.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/board-ape6evm.c
+++ work/arch/arm/mach-shmobile/board-ape6evm.c 2013-08-01 03:11:13.000000000 +0900
@@ -181,7 +181,6 @@ static const char *ape6evm_boards_compat
DT_MACHINE_START(APE6EVM_DT, "ape6evm")
.init_early = r8a73a4_init_delay,
- .init_time = shmobile_timer_init,
.init_machine = ape6evm_add_standard_devices,
.dt_compat = ape6evm_boards_compat_dt,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 09/13] ARM: shmobile: Use default ->init_time() on APE6EVM DT ref
2013-07-31 19:01 ` Magnus Damm
@ 2013-07-31 19:02 ` Magnus Damm
-1 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:02 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-ape6evm-reference.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/board-ape6evm-reference.c
+++ work/arch/arm/mach-shmobile/board-ape6evm-reference.c 2013-08-01 03:12:18.000000000 +0900
@@ -58,7 +58,6 @@ static const char *ape6evm_boards_compat
DT_MACHINE_START(APE6EVM_DT, "ape6evm")
.init_early = r8a73a4_init_delay,
- .init_time = shmobile_timer_init,
.init_machine = ape6evm_add_standard_devices,
.dt_compat = ape6evm_boards_compat_dt,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 09/13] ARM: shmobile: Use default ->init_time() on APE6EVM DT ref
@ 2013-07-31 19:02 ` Magnus Damm
0 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:02 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-ape6evm-reference.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/board-ape6evm-reference.c
+++ work/arch/arm/mach-shmobile/board-ape6evm-reference.c 2013-08-01 03:12:18.000000000 +0900
@@ -58,7 +58,6 @@ static const char *ape6evm_boards_compat
DT_MACHINE_START(APE6EVM_DT, "ape6evm")
.init_early = r8a73a4_init_delay,
- .init_time = shmobile_timer_init,
.init_machine = ape6evm_add_standard_devices,
.dt_compat = ape6evm_boards_compat_dt,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 10/13] ARM: shmobile: Use default ->init_time() on Marzen DT ref
2013-07-31 19:01 ` Magnus Damm
@ 2013-07-31 19:02 ` Magnus Damm
-1 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:02 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-marzen-reference.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/board-marzen-reference.c
+++ work/arch/arm/mach-shmobile/board-marzen-reference.c 2013-08-01 03:13:42.000000000 +0900
@@ -42,6 +42,5 @@ DT_MACHINE_START(MARZEN, "marzen")
.nr_irqs = NR_IRQS_LEGACY,
.init_irq = r8a7779_init_irq_dt,
.init_machine = marzen_init,
- .init_time = shmobile_timer_init,
.dt_compat = marzen_boards_compat_dt,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 10/13] ARM: shmobile: Use default ->init_time() on Marzen DT ref
@ 2013-07-31 19:02 ` Magnus Damm
0 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:02 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-marzen-reference.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/board-marzen-reference.c
+++ work/arch/arm/mach-shmobile/board-marzen-reference.c 2013-08-01 03:13:42.000000000 +0900
@@ -42,6 +42,5 @@ DT_MACHINE_START(MARZEN, "marzen")
.nr_irqs = NR_IRQS_LEGACY,
.init_irq = r8a7779_init_irq_dt,
.init_machine = marzen_init,
- .init_time = shmobile_timer_init,
.dt_compat = marzen_boards_compat_dt,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 11/13] ARM: shmobile: Use default ->init_time() on KZM9G DT ref
2013-07-31 19:01 ` Magnus Damm
@ 2013-07-31 19:02 ` Magnus Damm
-1 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:02 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-kzm9g-reference.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/board-kzm9g-reference.c
+++ work/arch/arm/mach-shmobile/board-kzm9g-reference.c 2013-08-01 03:16:17.000000000 +0900
@@ -52,6 +52,5 @@ DT_MACHINE_START(KZM9G_DT, "kzm9g-refere
.init_early = sh73a0_init_delay,
.nr_irqs = NR_IRQS_LEGACY,
.init_machine = kzm_init,
- .init_time = shmobile_timer_init,
.dt_compat = kzm9g_boards_compat_dt,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 11/13] ARM: shmobile: Use default ->init_time() on KZM9G DT ref
@ 2013-07-31 19:02 ` Magnus Damm
0 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:02 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Leave ->init_time() set to NULL to use the default ARM behaviour.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/board-kzm9g-reference.c | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/board-kzm9g-reference.c
+++ work/arch/arm/mach-shmobile/board-kzm9g-reference.c 2013-08-01 03:16:17.000000000 +0900
@@ -52,6 +52,5 @@ DT_MACHINE_START(KZM9G_DT, "kzm9g-refere
.init_early = sh73a0_init_delay,
.nr_irqs = NR_IRQS_LEGACY,
.init_machine = kzm_init,
- .init_time = shmobile_timer_init,
.dt_compat = kzm9g_boards_compat_dt,
MACHINE_END
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 12/13] ARM: shmobile: Use clocksource_of_init() on r8a7790
2013-07-31 19:01 ` Magnus Damm
@ 2013-07-31 19:03 ` Magnus Damm
-1 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:03 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Replace the call to shmobile_timer_init() with
clocksource_of_init(). This will allow us to
get rid of shmobile_timer_init().
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/setup-r8a7790.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/setup-r8a7790.c
+++ work/arch/arm/mach-shmobile/setup-r8a7790.c 2013-08-01 03:17:48.000000000 +0900
@@ -263,7 +263,7 @@ void __init r8a7790_timer_init(void)
iounmap(base);
#endif /* CONFIG_ARM_ARCH_TIMER */
- shmobile_timer_init();
+ clocksource_of_init();
}
void __init r8a7790_init_delay(void)
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 12/13] ARM: shmobile: Use clocksource_of_init() on r8a7790
@ 2013-07-31 19:03 ` Magnus Damm
0 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:03 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Replace the call to shmobile_timer_init() with
clocksource_of_init(). This will allow us to
get rid of shmobile_timer_init().
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/setup-r8a7790.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/setup-r8a7790.c
+++ work/arch/arm/mach-shmobile/setup-r8a7790.c 2013-08-01 03:17:48.000000000 +0900
@@ -263,7 +263,7 @@ void __init r8a7790_timer_init(void)
iounmap(base);
#endif /* CONFIG_ARM_ARCH_TIMER */
- shmobile_timer_init();
+ clocksource_of_init();
}
void __init r8a7790_init_delay(void)
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 13/13] ARM: shmobile: Remove unused shmobile_init_time()
2013-07-31 19:01 ` Magnus Damm
@ 2013-07-31 19:03 ` Magnus Damm
-1 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:03 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Remove shmobile_timer_init() since it now is unused.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/include/mach/common.h | 1 -
arch/arm/mach-shmobile/timer.c | 4 ----
2 files changed, 5 deletions(-)
--- 0009/arch/arm/mach-shmobile/include/mach/common.h
+++ work/arch/arm/mach-shmobile/include/mach/common.h 2013-08-01 03:19:38.000000000 +0900
@@ -2,7 +2,6 @@
#define __ARCH_MACH_COMMON_H
extern void shmobile_earlytimer_init(void);
-extern void shmobile_timer_init(void);
extern void shmobile_setup_delay(unsigned int max_cpu_core_mhz,
unsigned int mult, unsigned int div);
struct twd_local_timer;
--- 0001/arch/arm/mach-shmobile/timer.c
+++ work/arch/arm/mach-shmobile/timer.c 2013-08-01 03:19:19.000000000 +0900
@@ -59,7 +59,3 @@ void __init shmobile_earlytimer_init(voi
late_time_init = shmobile_late_time_init;
}
-void __init shmobile_timer_init(void)
-{
- clocksource_of_init();
-}
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 13/13] ARM: shmobile: Remove unused shmobile_init_time()
@ 2013-07-31 19:03 ` Magnus Damm
0 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2013-07-31 19:03 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Remove shmobile_timer_init() since it now is unused.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/include/mach/common.h | 1 -
arch/arm/mach-shmobile/timer.c | 4 ----
2 files changed, 5 deletions(-)
--- 0009/arch/arm/mach-shmobile/include/mach/common.h
+++ work/arch/arm/mach-shmobile/include/mach/common.h 2013-08-01 03:19:38.000000000 +0900
@@ -2,7 +2,6 @@
#define __ARCH_MACH_COMMON_H
extern void shmobile_earlytimer_init(void);
-extern void shmobile_timer_init(void);
extern void shmobile_setup_delay(unsigned int max_cpu_core_mhz,
unsigned int mult, unsigned int div);
struct twd_local_timer;
--- 0001/arch/arm/mach-shmobile/timer.c
+++ work/arch/arm/mach-shmobile/timer.c 2013-08-01 03:19:19.000000000 +0900
@@ -59,7 +59,3 @@ void __init shmobile_earlytimer_init(voi
late_time_init = shmobile_late_time_init;
}
-void __init shmobile_timer_init(void)
-{
- clocksource_of_init();
-}
^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [PATCH 00/13] ARM: shmobile: Rework ->init_time() / shmobile_timer_init()
2013-07-31 19:01 ` Magnus Damm
@ 2013-08-01 0:55 ` Kuninori Morimoto
-1 siblings, 0 replies; 36+ messages in thread
From: Kuninori Morimoto @ 2013-08-01 0:55 UTC (permalink / raw)
To: linux-arm-kernel
Hi
> [PATCH 01/13] ARM: shmobile: Use default ->init_time() on r8a73a4
> [PATCH 02/13] ARM: shmobile: Use default ->init_time() on r8a7740
> [PATCH 03/13] ARM: shmobile: Use default ->init_time() on r8a7778
> [PATCH 04/13] ARM: shmobile: Use default ->init_time() on r8a7779
> [PATCH 05/13] ARM: shmobile: Use default ->init_time() on Bockw
> [PATCH 06/13] ARM: shmobile: Use default ->init_time() on Bockw DT ref
> [PATCH 07/13] ARM: shmobile: Use default ->init_time() on Armadillo DT ref
> [PATCH 08/13] ARM: shmobile: Use default ->init_time() on APE6EVM
> [PATCH 09/13] ARM: shmobile: Use default ->init_time() on APE6EVM DT ref
> [PATCH 10/13] ARM: shmobile: Use default ->init_time() on Marzen DT ref
> [PATCH 11/13] ARM: shmobile: Use default ->init_time() on KZM9G DT ref
> [PATCH 12/13] ARM: shmobile: Use clocksource_of_init() on r8a7790
> [PATCH 13/13] ARM: shmobile: Remove unused shmobile_init_time()
For all patches
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 00/13] ARM: shmobile: Rework ->init_time() / shmobile_timer_init()
@ 2013-08-01 0:55 ` Kuninori Morimoto
0 siblings, 0 replies; 36+ messages in thread
From: Kuninori Morimoto @ 2013-08-01 0:55 UTC (permalink / raw)
To: linux-arm-kernel
Hi
> [PATCH 01/13] ARM: shmobile: Use default ->init_time() on r8a73a4
> [PATCH 02/13] ARM: shmobile: Use default ->init_time() on r8a7740
> [PATCH 03/13] ARM: shmobile: Use default ->init_time() on r8a7778
> [PATCH 04/13] ARM: shmobile: Use default ->init_time() on r8a7779
> [PATCH 05/13] ARM: shmobile: Use default ->init_time() on Bockw
> [PATCH 06/13] ARM: shmobile: Use default ->init_time() on Bockw DT ref
> [PATCH 07/13] ARM: shmobile: Use default ->init_time() on Armadillo DT ref
> [PATCH 08/13] ARM: shmobile: Use default ->init_time() on APE6EVM
> [PATCH 09/13] ARM: shmobile: Use default ->init_time() on APE6EVM DT ref
> [PATCH 10/13] ARM: shmobile: Use default ->init_time() on Marzen DT ref
> [PATCH 11/13] ARM: shmobile: Use default ->init_time() on KZM9G DT ref
> [PATCH 12/13] ARM: shmobile: Use clocksource_of_init() on r8a7790
> [PATCH 13/13] ARM: shmobile: Remove unused shmobile_init_time()
For all patches
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [PATCH 00/13] ARM: shmobile: Rework ->init_time() / shmobile_timer_init()
2013-07-31 19:01 ` Magnus Damm
@ 2013-08-05 8:50 ` Simon Horman
-1 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2013-08-05 8:50 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Aug 01, 2013 at 04:01:10AM +0900, Magnus Damm wrote:
> ARM: shmobile: Rework ->init_time() / shmobile_timer_init()
>
> [PATCH 01/13] ARM: shmobile: Use default ->init_time() on r8a73a4
> [PATCH 02/13] ARM: shmobile: Use default ->init_time() on r8a7740
> [PATCH 03/13] ARM: shmobile: Use default ->init_time() on r8a7778
> [PATCH 04/13] ARM: shmobile: Use default ->init_time() on r8a7779
> [PATCH 05/13] ARM: shmobile: Use default ->init_time() on Bockw
> [PATCH 06/13] ARM: shmobile: Use default ->init_time() on Bockw DT ref
> [PATCH 07/13] ARM: shmobile: Use default ->init_time() on Armadillo DT ref
> [PATCH 08/13] ARM: shmobile: Use default ->init_time() on APE6EVM
> [PATCH 09/13] ARM: shmobile: Use default ->init_time() on APE6EVM DT ref
> [PATCH 10/13] ARM: shmobile: Use default ->init_time() on Marzen DT ref
> [PATCH 11/13] ARM: shmobile: Use default ->init_time() on KZM9G DT ref
> [PATCH 12/13] ARM: shmobile: Use clocksource_of_init() on r8a7790
> [PATCH 13/13] ARM: shmobile: Remove unused shmobile_init_time()
>
> Set ->init_time() to NULL to use the default ARM behaviour which
> happens to be clocksource_of_init(). Also, replace the call to
> shmobile_time_init() with clocksource_of_init(). Finally, remove
> shmobile_init_time() that now is unused.
>
> Signed-off-by: Magnus Damm <damm@opensource.se>
Thanks, I will queue these up for v3.12 in the cleanup3 branch.
^ permalink raw reply [flat|nested] 36+ messages in thread
* [PATCH 00/13] ARM: shmobile: Rework ->init_time() / shmobile_timer_init()
@ 2013-08-05 8:50 ` Simon Horman
0 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2013-08-05 8:50 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Aug 01, 2013 at 04:01:10AM +0900, Magnus Damm wrote:
> ARM: shmobile: Rework ->init_time() / shmobile_timer_init()
>
> [PATCH 01/13] ARM: shmobile: Use default ->init_time() on r8a73a4
> [PATCH 02/13] ARM: shmobile: Use default ->init_time() on r8a7740
> [PATCH 03/13] ARM: shmobile: Use default ->init_time() on r8a7778
> [PATCH 04/13] ARM: shmobile: Use default ->init_time() on r8a7779
> [PATCH 05/13] ARM: shmobile: Use default ->init_time() on Bockw
> [PATCH 06/13] ARM: shmobile: Use default ->init_time() on Bockw DT ref
> [PATCH 07/13] ARM: shmobile: Use default ->init_time() on Armadillo DT ref
> [PATCH 08/13] ARM: shmobile: Use default ->init_time() on APE6EVM
> [PATCH 09/13] ARM: shmobile: Use default ->init_time() on APE6EVM DT ref
> [PATCH 10/13] ARM: shmobile: Use default ->init_time() on Marzen DT ref
> [PATCH 11/13] ARM: shmobile: Use default ->init_time() on KZM9G DT ref
> [PATCH 12/13] ARM: shmobile: Use clocksource_of_init() on r8a7790
> [PATCH 13/13] ARM: shmobile: Remove unused shmobile_init_time()
>
> Set ->init_time() to NULL to use the default ARM behaviour which
> happens to be clocksource_of_init(). Also, replace the call to
> shmobile_time_init() with clocksource_of_init(). Finally, remove
> shmobile_init_time() that now is unused.
>
> Signed-off-by: Magnus Damm <damm@opensource.se>
Thanks, I will queue these up for v3.12 in the cleanup3 branch.
^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [PATCH 12/13] ARM: shmobile: Use clocksource_of_init() on r8a7790
2013-07-31 19:03 ` Magnus Damm
@ 2013-08-06 1:28 ` Simon Horman
-1 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2013-08-06 1:28 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Aug 01, 2013 at 04:03:00AM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
>
> Replace the call to shmobile_timer_init() with
> clocksource_of_init(). This will allow us to
> get rid of shmobile_timer_init().
>
> Signed-off-by: Magnus Damm <damm@opensource.se>
> ---
>
> arch/arm/mach-shmobile/setup-r8a7790.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- 0001/arch/arm/mach-shmobile/setup-r8a7790.c
> +++ work/arch/arm/mach-shmobile/setup-r8a7790.c 2013-08-01 03:17:48.000000000 +0900
> @@ -263,7 +263,7 @@ void __init r8a7790_timer_init(void)
> iounmap(base);
> #endif /* CONFIG_ARM_ARCH_TIMER */
>
> - shmobile_timer_init();
> + clocksource_of_init();
> }
>
> void __init r8a7790_init_delay(void)
I seem to need the following:
diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c
index 7301255..d0f5c9f 100644
--- a/arch/arm/mach-shmobile/setup-r8a7790.c
+++ b/arch/arm/mach-shmobile/setup-r8a7790.c
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <linux/clocksource.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/of_platform.h>
To avoid:
...
CC arch/arm/mach-shmobile/setup-r8a7790.o
arch/arm/mach-shmobile/setup-r8a7790.c: In function ‘r8a7790_timer_init’:
arch/arm/mach-shmobile/setup-r8a7790.c:266:2: error: implicit declaration of function ‘clocksource_of_init’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[1]: *** [arch/arm/mach-shmobile/setup-r8a7790.o] Error 1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 12/13] ARM: shmobile: Use clocksource_of_init() on r8a7790
@ 2013-08-06 1:28 ` Simon Horman
0 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2013-08-06 1:28 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Aug 01, 2013 at 04:03:00AM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
>
> Replace the call to shmobile_timer_init() with
> clocksource_of_init(). This will allow us to
> get rid of shmobile_timer_init().
>
> Signed-off-by: Magnus Damm <damm@opensource.se>
> ---
>
> arch/arm/mach-shmobile/setup-r8a7790.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- 0001/arch/arm/mach-shmobile/setup-r8a7790.c
> +++ work/arch/arm/mach-shmobile/setup-r8a7790.c 2013-08-01 03:17:48.000000000 +0900
> @@ -263,7 +263,7 @@ void __init r8a7790_timer_init(void)
> iounmap(base);
> #endif /* CONFIG_ARM_ARCH_TIMER */
>
> - shmobile_timer_init();
> + clocksource_of_init();
> }
>
> void __init r8a7790_init_delay(void)
I seem to need the following:
diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c
index 7301255..d0f5c9f 100644
--- a/arch/arm/mach-shmobile/setup-r8a7790.c
+++ b/arch/arm/mach-shmobile/setup-r8a7790.c
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <linux/clocksource.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/of_platform.h>
To avoid:
...
CC arch/arm/mach-shmobile/setup-r8a7790.o
arch/arm/mach-shmobile/setup-r8a7790.c: In function ?r8a7790_timer_init?:
arch/arm/mach-shmobile/setup-r8a7790.c:266:2: error: implicit declaration of function ?clocksource_of_init? [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[1]: *** [arch/arm/mach-shmobile/setup-r8a7790.o] Error 1
^ permalink raw reply related [flat|nested] 36+ messages in thread
* Re: [PATCH 12/13] ARM: shmobile: Use clocksource_of_init() on r8a7790
2013-08-06 1:28 ` Simon Horman
@ 2013-08-06 2:07 ` Simon Horman
-1 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2013-08-06 2:07 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Aug 06, 2013 at 10:28:56AM +0900, Simon Horman wrote:
> On Thu, Aug 01, 2013 at 04:03:00AM +0900, Magnus Damm wrote:
> > From: Magnus Damm <damm@opensource.se>
> >
> > Replace the call to shmobile_timer_init() with
> > clocksource_of_init(). This will allow us to
> > get rid of shmobile_timer_init().
> >
> > Signed-off-by: Magnus Damm <damm@opensource.se>
> > ---
> >
> > arch/arm/mach-shmobile/setup-r8a7790.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > --- 0001/arch/arm/mach-shmobile/setup-r8a7790.c
> > +++ work/arch/arm/mach-shmobile/setup-r8a7790.c 2013-08-01 03:17:48.000000000 +0900
> > @@ -263,7 +263,7 @@ void __init r8a7790_timer_init(void)
> > iounmap(base);
> > #endif /* CONFIG_ARM_ARCH_TIMER */
> >
> > - shmobile_timer_init();
> > + clocksource_of_init();
> > }
> >
> > void __init r8a7790_init_delay(void)
>
> I seem to need the following:
>
> diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c
> index 7301255..d0f5c9f 100644
> --- a/arch/arm/mach-shmobile/setup-r8a7790.c
> +++ b/arch/arm/mach-shmobile/setup-r8a7790.c
> @@ -18,6 +18,7 @@
> * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
> */
>
> +#include <linux/clocksource.h>
> #include <linux/irq.h>
> #include <linux/kernel.h>
> #include <linux/of_platform.h>
>
>
> To avoid:
>
> ...
> CC arch/arm/mach-shmobile/setup-r8a7790.o
> arch/arm/mach-shmobile/setup-r8a7790.c: In function ‘r8a7790_timer_init’:
> arch/arm/mach-shmobile/setup-r8a7790.c:266:2: error: implicit declaration of function ‘clocksource_of_init’ [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors
> make[1]: *** [arch/arm/mach-shmobile/setup-r8a7790.o] Error 1
As discussed off-line, I have squashed the above change into your patch.
The result, which I plan to push shortly, is as follows:
From: Magnus Damm <damm@opensource.se>
ARM: shmobile: Use clocksource_of_init() on r8a7790
Replace the call to shmobile_timer_init() with
clocksource_of_init(). This will allow us to
get rid of shmobile_timer_init().
Signed-off-by: Magnus Damm <damm@opensource.se>
[horms+renesas@verge.net.au: include linux/clocksource.h]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/setup-r8a7790.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c
index 86cf507..6d4aa04 100644
--- a/arch/arm/mach-shmobile/setup-r8a7790.c
+++ b/arch/arm/mach-shmobile/setup-r8a7790.c
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <linux/clocksource.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/of_platform.h>
@@ -263,7 +264,7 @@ void __init r8a7790_timer_init(void)
iounmap(base);
#endif /* CONFIG_ARM_ARCH_TIMER */
- shmobile_timer_init();
+ clocksource_of_init();
}
void __init r8a7790_init_delay(void)
--
1.8.3.2
^ permalink raw reply related [flat|nested] 36+ messages in thread
* [PATCH 12/13] ARM: shmobile: Use clocksource_of_init() on r8a7790
@ 2013-08-06 2:07 ` Simon Horman
0 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2013-08-06 2:07 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Aug 06, 2013 at 10:28:56AM +0900, Simon Horman wrote:
> On Thu, Aug 01, 2013 at 04:03:00AM +0900, Magnus Damm wrote:
> > From: Magnus Damm <damm@opensource.se>
> >
> > Replace the call to shmobile_timer_init() with
> > clocksource_of_init(). This will allow us to
> > get rid of shmobile_timer_init().
> >
> > Signed-off-by: Magnus Damm <damm@opensource.se>
> > ---
> >
> > arch/arm/mach-shmobile/setup-r8a7790.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > --- 0001/arch/arm/mach-shmobile/setup-r8a7790.c
> > +++ work/arch/arm/mach-shmobile/setup-r8a7790.c 2013-08-01 03:17:48.000000000 +0900
> > @@ -263,7 +263,7 @@ void __init r8a7790_timer_init(void)
> > iounmap(base);
> > #endif /* CONFIG_ARM_ARCH_TIMER */
> >
> > - shmobile_timer_init();
> > + clocksource_of_init();
> > }
> >
> > void __init r8a7790_init_delay(void)
>
> I seem to need the following:
>
> diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c
> index 7301255..d0f5c9f 100644
> --- a/arch/arm/mach-shmobile/setup-r8a7790.c
> +++ b/arch/arm/mach-shmobile/setup-r8a7790.c
> @@ -18,6 +18,7 @@
> * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
> */
>
> +#include <linux/clocksource.h>
> #include <linux/irq.h>
> #include <linux/kernel.h>
> #include <linux/of_platform.h>
>
>
> To avoid:
>
> ...
> CC arch/arm/mach-shmobile/setup-r8a7790.o
> arch/arm/mach-shmobile/setup-r8a7790.c: In function ?r8a7790_timer_init?:
> arch/arm/mach-shmobile/setup-r8a7790.c:266:2: error: implicit declaration of function ?clocksource_of_init? [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors
> make[1]: *** [arch/arm/mach-shmobile/setup-r8a7790.o] Error 1
As discussed off-line, I have squashed the above change into your patch.
The result, which I plan to push shortly, is as follows:
From: Magnus Damm <damm@opensource.se>
ARM: shmobile: Use clocksource_of_init() on r8a7790
Replace the call to shmobile_timer_init() with
clocksource_of_init(). This will allow us to
get rid of shmobile_timer_init().
Signed-off-by: Magnus Damm <damm@opensource.se>
[horms+renesas at verge.net.au: include linux/clocksource.h]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
arch/arm/mach-shmobile/setup-r8a7790.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c
index 86cf507..6d4aa04 100644
--- a/arch/arm/mach-shmobile/setup-r8a7790.c
+++ b/arch/arm/mach-shmobile/setup-r8a7790.c
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <linux/clocksource.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/of_platform.h>
@@ -263,7 +264,7 @@ void __init r8a7790_timer_init(void)
iounmap(base);
#endif /* CONFIG_ARM_ARCH_TIMER */
- shmobile_timer_init();
+ clocksource_of_init();
}
void __init r8a7790_init_delay(void)
--
1.8.3.2
^ permalink raw reply related [flat|nested] 36+ messages in thread
end of thread, other threads:[~2013-08-06 2:07 UTC | newest]
Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-31 19:01 [PATCH 00/13] ARM: shmobile: Rework ->init_time() / shmobile_timer_init() Magnus Damm
2013-07-31 19:01 ` Magnus Damm
2013-07-31 19:01 ` [PATCH 01/13] ARM: shmobile: Use default ->init_time() on r8a73a4 Magnus Damm
2013-07-31 19:01 ` Magnus Damm
2013-07-31 19:01 ` [PATCH 02/13] ARM: shmobile: Use default ->init_time() on r8a7740 Magnus Damm
2013-07-31 19:01 ` Magnus Damm
2013-07-31 19:01 ` [PATCH 03/13] ARM: shmobile: Use default ->init_time() on r8a7778 Magnus Damm
2013-07-31 19:01 ` Magnus Damm
2013-07-31 19:01 ` [PATCH 04/13] ARM: shmobile: Use default ->init_time() on r8a7779 Magnus Damm
2013-07-31 19:01 ` Magnus Damm
2013-07-31 19:01 ` [PATCH 05/13] ARM: shmobile: Use default ->init_time() on Bockw Magnus Damm
2013-07-31 19:01 ` Magnus Damm
2013-07-31 19:02 ` [PATCH 06/13] ARM: shmobile: Use default ->init_time() on Bockw DT ref Magnus Damm
2013-07-31 19:02 ` Magnus Damm
2013-07-31 19:02 ` [PATCH 07/13] ARM: shmobile: Use default ->init_time() on Armadillo " Magnus Damm
2013-07-31 19:02 ` Magnus Damm
2013-07-31 19:02 ` [PATCH 08/13] ARM: shmobile: Use default ->init_time() on APE6EVM Magnus Damm
2013-07-31 19:02 ` Magnus Damm
2013-07-31 19:02 ` [PATCH 09/13] ARM: shmobile: Use default ->init_time() on APE6EVM DT ref Magnus Damm
2013-07-31 19:02 ` Magnus Damm
2013-07-31 19:02 ` [PATCH 10/13] ARM: shmobile: Use default ->init_time() on Marzen " Magnus Damm
2013-07-31 19:02 ` Magnus Damm
2013-07-31 19:02 ` [PATCH 11/13] ARM: shmobile: Use default ->init_time() on KZM9G " Magnus Damm
2013-07-31 19:02 ` Magnus Damm
2013-07-31 19:03 ` [PATCH 12/13] ARM: shmobile: Use clocksource_of_init() on r8a7790 Magnus Damm
2013-07-31 19:03 ` Magnus Damm
2013-08-06 1:28 ` Simon Horman
2013-08-06 1:28 ` Simon Horman
2013-08-06 2:07 ` Simon Horman
2013-08-06 2:07 ` Simon Horman
2013-07-31 19:03 ` [PATCH 13/13] ARM: shmobile: Remove unused shmobile_init_time() Magnus Damm
2013-07-31 19:03 ` Magnus Damm
2013-08-01 0:55 ` [PATCH 00/13] ARM: shmobile: Rework ->init_time() / shmobile_timer_init() Kuninori Morimoto
2013-08-01 0:55 ` Kuninori Morimoto
2013-08-05 8:50 ` Simon Horman
2013-08-05 8:50 ` Simon Horman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.