rk3288: Add missing #include and use uniform types

This updates timer.h to #include the header necessary for u32,
and to change the one instance of uint32_t to u32 to be uniform.

BUG=none
BRANCH=none
TEST=compiled

Change-Id: Ie406fb1f518af5d1fd1e623630b2bcbbef35622c
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/220612
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
David Hendricks 2014-09-30 15:24:21 -07:00 committed by chrome-internal-fetch
commit 4ff2629fdf

View file

@ -20,10 +20,11 @@
#ifndef __SOC_ROCKCHIP_RK3288_TIMER_H__
#define __SOC_ROCKCHIP_RK3288_TIMER_H__
#include <inttypes.h>
#include "addressmap.h"
#define SYS_CLK_FREQ 24000000
static const uint32_t clocks_per_usec = SYS_CLK_FREQ/1000000;
static const u32 clocks_per_usec = SYS_CLK_FREQ/1000000;
struct rk3288_timer {
u32 timer_load_count0;