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:
parent
d8c0c407bf
commit
4ff2629fdf
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue