diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2014-04-23 02:11:59 (GMT) |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2014-05-23 07:19:39 (GMT) |
commit | 4a3ae07413844733e4cb3765f67a752b846df913 (patch) | |
tree | 65492de6ba2be05268ba1f57f4375b1f51753bf7 /mm | |
parent | 013be5adf5cd6e6d58eb72f3bb0137a78be152c8 (diff) | |
download | linux-4a3ae07413844733e4cb3765f67a752b846df913.tar.xz |
clocksource: Fix type confusion for clocksource_mmio_readX_Y
The types' definations are:
o cycle_t -> u64
o readl_relaxed -> u32
o readw_relaxed -> u16
So let clocksource_mmio_readX_Ys return a cast to cycle_t, though
this maybe look reduntant sometimes, it make sense and they will be
more readable and less confusion...
This patch clarifies the functions type and fix it.
Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions