From: Heiko Stuebner Date: Tue, 4 Jun 2013 09:37:02 +0000 (+0200) Subject: clocksource: dw_apb_timer_of: enable the use the clocksource as sched clock X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~68^2~16^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1198f83407ae3421f3f58355a0f296d5ea6249c;p=pandora-kernel.git clocksource: dw_apb_timer_of: enable the use the clocksource as sched clock Currently the dw_apb_timer always expects a separate special timer to be availbable for the sched_clock. Some devices using dw_apb_timers do not have this sptimer but can use the clocksource as sched_clock instead. Therefore enable the driver to distiguish between devices with and without sptimer based on the devicetree data and select the correct timer as sched_clock. Signed-off-by: Heiko Stuebner Acked-by: Linus Walleij Acked-by: Jamie Iles --- Reading git-diff-tree failed