]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: define an enum for gpt timer device type
authorShawn Guo <shawn.guo@linaro.org>
Fri, 15 May 2015 03:41:39 +0000 (11:41 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 3 Jun 2015 06:52:26 +0000 (14:52 +0800)
commita96bd15659d3510aef30266ecd3c12d791029ba4
tree608a40c038ae0d8934b7f931e0af221247cda44e
parentd320952e530601a4fe3bd575052567e7fed89801
ARM: imx: define an enum for gpt timer device type

Define an enum for gpt timer device type in include/soc/imx/timer.h to
tell the gpt block differences among SoCs.  Update non-DT users (clock
drivers) to pass the device type.

As we now have include/soc/imx/timer.h, the declaration of
mxc_timer_init() is moved into there as the best fit.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/time.c
drivers/clk/imx/clk-imx1.c
drivers/clk/imx/clk-imx21.c
drivers/clk/imx/clk-imx27.c
drivers/clk/imx/clk-imx31.c
drivers/clk/imx/clk-imx35.c
drivers/clk/imx/clk.h
include/soc/imx/timer.h [new file with mode: 0644]