]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: define gpt register offset per device type
authorShawn Guo <shawn.guo@linaro.org>
Fri, 22 May 2015 13:39:55 +0000 (21:39 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 3 Jun 2015 06:52:28 +0000 (14:52 +0800)
commit6e6d70ef83b0f40646f598f69ff659f046e1eaa1
tree2e55f268a51d7507bf9df34cca829091aedb77c6
parent18387d48da42cf77a0019dfd2cbb64529f079487
ARM: imx: define gpt register offset per device type

It defines offset of gpt registers TSTAT, TCN and TCMP per device
type in imx_gpt_data, so that these registers can be accessed in an
way without timer_is_v2() checking.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/time.c