clocksource: sh_cmt: Add control register callbacks
authorMagnus Damm <damm@opensource.se>
Fri, 14 Dec 2012 05:54:28 +0000 (14:54 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 12 Mar 2013 17:24:36 +0000 (02:24 +0900)
commitcccd70455c351604d0a9075d35298ed4ff66dab3
treef10ef71645062f0de68bdeff35021e9bf653d115
parenta6a912ca43843d43590ce5f1cbc85cbc7ac14bba
clocksource: sh_cmt: Add control register callbacks

This patch adds control register callbacks for the CMT
driver. At this point only 16-bit access is supported
but in the future this will be updated to allow 32-bit
access as well.

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: John Stultz <john.stultz@linaro.org>
Tested-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/clocksource/sh_cmt.c