diff options
author | Alex Van Brunt <avanbrunt@nvidia.com> | 2013-01-31 10:53:31 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:22:32 -0700 |
commit | 44e140d6a153d27d74a200cae4626096d17aecd2 (patch) | |
tree | f8f8291081e0dbb9b3c8d6d189d2a436fd95ca91 /arch/arm/mach-tegra/iomap.h | |
parent | 500d78553d6ad18c464e68ee617e0cc5fd662155 (diff) |
arm: tegra: Update readl/writel calls
readl and writel now take void * instead of u32. Update the way they
are called to reflect this change.
Change-Id: I5b7ae6bf52003cdbb9f7ea1fd6cf365f8bc3356f
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/196098
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'arch/arm/mach-tegra/iomap.h')
-rw-r--r-- | arch/arm/mach-tegra/iomap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/iomap.h b/arch/arm/mach-tegra/iomap.h index 6d18059de5a2..1b19f5ff5d83 100644 --- a/arch/arm/mach-tegra/iomap.h +++ b/arch/arm/mach-tegra/iomap.h @@ -924,7 +924,7 @@ #endif #define IO_TO_VIRT_BETWEEN(p, st, sz) ((p) >= (st) && (p) < ((st) + (sz))) -#define IO_TO_VIRT_XLATE(p, pst, vst) (((p) - (pst) + (vst))) +#define IO_TO_VIRT_XLATE(p, pst, vst) ((void *)((p) - (pst) + (vst))) #ifdef CONFIG_TEGRA_GK20A #define IO_TO_VIRT_GK20A_B0(n) \ |