From: Xiubo Li Date: Wed, 23 Apr 2014 02:11:59 +0000 (+0800) Subject: clocksource: Fix type confusion for clocksource_mmio_readX_Y X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~18^2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a3ae07413844733e4cb3765f67a752b846df913;p=pandora-kernel.git 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 Cc: Daniel Lezcano Signed-off-by: Daniel Lezcano --- Reading git-diff-tree failed