Commit Graph
2 Commits
Author SHA1 Message Date
Jamie Iles a1330228f9 dw_apb_timer: constify clocksource name
The clocksource name should be const for correctness.

Cc: John Stultz <[email protected]>
Signed-off-by: Jamie Iles <[email protected]>
Signed-off-by: John Stultz <[email protected]>
2011-10-04 13:08:18 -07:00
Jamie Iles 06c3df4952 clocksource: apb: Share APB timer code with other platforms
The APB timers are an IP block from Synopsys (DesignWare APB timers)
and are also found in other systems including ARM SoC's.  This patch
adds functions for creating clock_event_devices and clocksources from
APB timers but does not do the resource allocation.  This is handled
in a higher layer to allow the timers to be created from multiple
methods such as platform_devices.

Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Jacob Pan <[email protected]>
Signed-off-by: Jamie Iles <[email protected]>
Signed-off-by: John Stultz <[email protected]>
2011-06-27 15:16:21 -07:00