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)
commit0931aff7226abb7e1dab018488e363294385fa66
tree608a40c038ae0d8934b7f931e0af221247cda44e
parent6dd747825b206e9863c80c8b311fd2ed0964140a
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]