diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-11-08 14:40:59 -0500 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-12-24 11:36:38 -0500 |
commit | 6bb27d7349db51b50c40534710fe164ca0d58902 (patch) | |
tree | 8f227c8bbf27b87275302dc133bb2b949b64622f /arch/arm/mach-s3c64xx | |
parent | 7704c095230e2e9863f3aacd0489a4b4cc00bf45 (diff) |
ARM: delete struct sys_timer
Now that the only field in struct sys_timer is .init, delete the struct,
and replace the machine descriptor .timer field with the initialization
function itself.
This will enable moving timer drivers into drivers/clocksource without
having to place a public prototype of each struct sys_timer object into
include/linux; the intent is to create a single of_clocksource_init()
function that determines which timer driver to initialize by scanning
the device dtree, much like the proposed irqchip_init() at:
http://www.spinics.net/lists/arm-kernel/msg203686.html
Includes mach-omap2 fixes from Igor Grinberg.
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-anw6410.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-crag6410.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-hmt.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-mini6410.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-ncp.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-real6410.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-smartq5.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-smartq7.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-smdk6400.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/mach-smdk6410.c | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-anw6410.c b/arch/arm/mach-s3c64xx/mach-anw6410.c index 99e82ac81b69..75cbc67f628e 100644 --- a/arch/arm/mach-s3c64xx/mach-anw6410.c +++ b/arch/arm/mach-s3c64xx/mach-anw6410.c | |||
@@ -234,6 +234,6 @@ MACHINE_START(ANW6410, "A&W6410") | |||
234 | .map_io = anw6410_map_io, | 234 | .map_io = anw6410_map_io, |
235 | .init_machine = anw6410_machine_init, | 235 | .init_machine = anw6410_machine_init, |
236 | .init_late = s3c64xx_init_late, | 236 | .init_late = s3c64xx_init_late, |
237 | .timer = &s3c24xx_timer, | 237 | .init_time = s3c24xx_timer_init, |
238 | .restart = s3c64xx_restart, | 238 | .restart = s3c64xx_restart, |
239 | MACHINE_END | 239 | MACHINE_END |
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c b/arch/arm/mach-s3c64xx/mach-crag6410.c index cdde249166b5..87aab127dd60 100644 --- a/arch/arm/mach-s3c64xx/mach-crag6410.c +++ b/arch/arm/mach-s3c64xx/mach-crag6410.c | |||
@@ -871,6 +871,6 @@ MACHINE_START(WLF_CRAGG_6410, "Wolfson Cragganmore 6410") | |||
871 | .map_io = crag6410_map_io, | 871 | .map_io = crag6410_map_io, |
872 | .init_machine = crag6410_machine_init, | 872 | .init_machine = crag6410_machine_init, |
873 | .init_late = s3c64xx_init_late, | 873 | .init_late = s3c64xx_init_late, |
874 | .timer = &s3c24xx_timer, | 874 | .init_time = s3c24xx_timer_init, |
875 | .restart = s3c64xx_restart, | 875 | .restart = s3c64xx_restart, |
876 | MACHINE_END | 876 | MACHINE_END |
diff --git a/arch/arm/mach-s3c64xx/mach-hmt.c b/arch/arm/mach-s3c64xx/mach-hmt.c index 2b144893ddc4..7e8605d98142 100644 --- a/arch/arm/mach-s3c64xx/mach-hmt.c +++ b/arch/arm/mach-s3c64xx/mach-hmt.c | |||
@@ -277,6 +277,6 @@ MACHINE_START(HMT, "Airgoo-HMT") | |||
277 | .map_io = hmt_map_io, | 277 | .map_io = hmt_map_io, |
278 | .init_machine = hmt_machine_init, | 278 | .init_machine = hmt_machine_init, |
279 | .init_late = s3c64xx_init_late, | 279 | .init_late = s3c64xx_init_late, |
280 | .timer = &s3c24xx_timer, | 280 | .init_time = s3c24xx_timer_init, |
281 | .restart = s3c64xx_restart, | 281 | .restart = s3c64xx_restart, |
282 | MACHINE_END | 282 | MACHINE_END |
diff --git a/arch/arm/mach-s3c64xx/mach-mini6410.c b/arch/arm/mach-s3c64xx/mach-mini6410.c index 07c349cca333..4f8dc7dff92b 100644 --- a/arch/arm/mach-s3c64xx/mach-mini6410.c +++ b/arch/arm/mach-s3c64xx/mach-mini6410.c | |||
@@ -356,6 +356,6 @@ MACHINE_START(MINI6410, "MINI6410") | |||
356 | .map_io = mini6410_map_io, | 356 | .map_io = mini6410_map_io, |
357 | .init_machine = mini6410_machine_init, | 357 | .init_machine = mini6410_machine_init, |
358 | .init_late = s3c64xx_init_late, | 358 | .init_late = s3c64xx_init_late, |
359 | .timer = &s3c24xx_timer, | 359 | .init_time = s3c24xx_timer_init, |
360 | .restart = s3c64xx_restart, | 360 | .restart = s3c64xx_restart, |
361 | MACHINE_END | 361 | MACHINE_END |
diff --git a/arch/arm/mach-s3c64xx/mach-ncp.c b/arch/arm/mach-s3c64xx/mach-ncp.c index e5f9a79b535d..cdd7f947376c 100644 --- a/arch/arm/mach-s3c64xx/mach-ncp.c +++ b/arch/arm/mach-s3c64xx/mach-ncp.c | |||
@@ -105,6 +105,6 @@ MACHINE_START(NCP, "NCP") | |||
105 | .map_io = ncp_map_io, | 105 | .map_io = ncp_map_io, |
106 | .init_machine = ncp_machine_init, | 106 | .init_machine = ncp_machine_init, |
107 | .init_late = s3c64xx_init_late, | 107 | .init_late = s3c64xx_init_late, |
108 | .timer = &s3c24xx_timer, | 108 | .init_time = s3c24xx_timer_init, |
109 | .restart = s3c64xx_restart, | 109 | .restart = s3c64xx_restart, |
110 | MACHINE_END | 110 | MACHINE_END |
diff --git a/arch/arm/mach-s3c64xx/mach-real6410.c b/arch/arm/mach-s3c64xx/mach-real6410.c index 7476f7c722ab..b0f61982ef56 100644 --- a/arch/arm/mach-s3c64xx/mach-real6410.c +++ b/arch/arm/mach-s3c64xx/mach-real6410.c | |||
@@ -335,6 +335,6 @@ MACHINE_START(REAL6410, "REAL6410") | |||
335 | .map_io = real6410_map_io, | 335 | .map_io = real6410_map_io, |
336 | .init_machine = real6410_machine_init, | 336 | .init_machine = real6410_machine_init, |
337 | .init_late = s3c64xx_init_late, | 337 | .init_late = s3c64xx_init_late, |
338 | .timer = &s3c24xx_timer, | 338 | .init_time = s3c24xx_timer_init, |
339 | .restart = s3c64xx_restart, | 339 | .restart = s3c64xx_restart, |
340 | MACHINE_END | 340 | MACHINE_END |
diff --git a/arch/arm/mach-s3c64xx/mach-smartq5.c b/arch/arm/mach-s3c64xx/mach-smartq5.c index 96d6da2b6b5f..7a737614717e 100644 --- a/arch/arm/mach-s3c64xx/mach-smartq5.c +++ b/arch/arm/mach-s3c64xx/mach-smartq5.c | |||
@@ -157,6 +157,6 @@ MACHINE_START(SMARTQ5, "SmartQ 5") | |||
157 | .map_io = smartq_map_io, | 157 | .map_io = smartq_map_io, |
158 | .init_machine = smartq5_machine_init, | 158 | .init_machine = smartq5_machine_init, |
159 | .init_late = s3c64xx_init_late, | 159 | .init_late = s3c64xx_init_late, |
160 | .timer = &s3c24xx_timer, | 160 | .init_time = s3c24xx_timer_init, |
161 | .restart = s3c64xx_restart, | 161 | .restart = s3c64xx_restart, |
162 | MACHINE_END | 162 | MACHINE_END |
diff --git a/arch/arm/mach-s3c64xx/mach-smartq7.c b/arch/arm/mach-s3c64xx/mach-smartq7.c index 7d1167bdc921..889d525325c8 100644 --- a/arch/arm/mach-s3c64xx/mach-smartq7.c +++ b/arch/arm/mach-s3c64xx/mach-smartq7.c | |||
@@ -173,6 +173,6 @@ MACHINE_START(SMARTQ7, "SmartQ 7") | |||
173 | .map_io = smartq_map_io, | 173 | .map_io = smartq_map_io, |
174 | .init_machine = smartq7_machine_init, | 174 | .init_machine = smartq7_machine_init, |
175 | .init_late = s3c64xx_init_late, | 175 | .init_late = s3c64xx_init_late, |
176 | .timer = &s3c24xx_timer, | 176 | .init_time = s3c24xx_timer_init, |
177 | .restart = s3c64xx_restart, | 177 | .restart = s3c64xx_restart, |
178 | MACHINE_END | 178 | MACHINE_END |
diff --git a/arch/arm/mach-s3c64xx/mach-smdk6400.c b/arch/arm/mach-s3c64xx/mach-smdk6400.c index a928fae5694e..e31fe5bb37b6 100644 --- a/arch/arm/mach-s3c64xx/mach-smdk6400.c +++ b/arch/arm/mach-s3c64xx/mach-smdk6400.c | |||
@@ -94,6 +94,6 @@ MACHINE_START(SMDK6400, "SMDK6400") | |||
94 | .map_io = smdk6400_map_io, | 94 | .map_io = smdk6400_map_io, |
95 | .init_machine = smdk6400_machine_init, | 95 | .init_machine = smdk6400_machine_init, |
96 | .init_late = s3c64xx_init_late, | 96 | .init_late = s3c64xx_init_late, |
97 | .timer = &s3c24xx_timer, | 97 | .init_time = s3c24xx_timer_init, |
98 | .restart = s3c64xx_restart, | 98 | .restart = s3c64xx_restart, |
99 | MACHINE_END | 99 | MACHINE_END |
diff --git a/arch/arm/mach-s3c64xx/mach-smdk6410.c b/arch/arm/mach-s3c64xx/mach-smdk6410.c index 574a9eef588d..f1b87cd9cb0e 100644 --- a/arch/arm/mach-s3c64xx/mach-smdk6410.c +++ b/arch/arm/mach-s3c64xx/mach-smdk6410.c | |||
@@ -704,6 +704,6 @@ MACHINE_START(SMDK6410, "SMDK6410") | |||
704 | .map_io = smdk6410_map_io, | 704 | .map_io = smdk6410_map_io, |
705 | .init_machine = smdk6410_machine_init, | 705 | .init_machine = smdk6410_machine_init, |
706 | .init_late = s3c64xx_init_late, | 706 | .init_late = s3c64xx_init_late, |
707 | .timer = &s3c24xx_timer, | 707 | .init_time = s3c24xx_timer_init, |
708 | .restart = s3c64xx_restart, | 708 | .restart = s3c64xx_restart, |
709 | MACHINE_END | 709 | MACHINE_END |