rockchip: timer: make register sizes explicit
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 14 Jul 2017 16:09:25 +0000 (18:09 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 27 Jul 2017 12:59:00 +0000 (14:59 +0200)
commitcb91173a7fe7a39eae809e9b80e3cbeae96fc6fd
tree07fd1a3cb8efd256736e17ff0ba8f72ea7ceb5b6
parent01240628537418e96b9a973b136390d266092051
rockchip: timer: make register sizes explicit

We are about to reuse the rockchip timer (header file) for 64bit ARMv8
chips, so it seems a good time to make the register sizes explicit by
changing from 'unsigned int' to 'u32'.

Reorders the header-includes in rk_timer.c to ensure that 'u32' is
definded before it is used by 'asm/arch/timer.h'.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/include/asm/arch-rockchip/timer.h
arch/arm/mach-rockchip/rk_timer.c