diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2013-12-15 14:09:38 +0200 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2013-12-18 03:44:34 -0800 |
commit | 9dc1cb2fa5289deb400e7b79c778259181fcc479 (patch) | |
tree | 8896c99e1dee9d7474f87b9331ad1dd6116b480e /include/linux/nvhost.h | |
parent | ebc3629412e3078ff4f914210dbe731756c9ec8d (diff) |
video: tegra: host: Use host1x_readl/writel
Introduce one set of functions to read/write host1x and host1x client
registers, and remove redundant ones.
Change-Id: I42ac706ec6c6f030175d0ee1d6a343ccaa7b7143
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/345613
Diffstat (limited to 'include/linux/nvhost.h')
-rw-r--r-- | include/linux/nvhost.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h index 47159618cb97..b872587cdd9a 100644 --- a/include/linux/nvhost.h +++ b/include/linux/nvhost.h @@ -328,8 +328,8 @@ struct nvhost_device_power_attr { struct kobj_attribute power_attr[NVHOST_POWER_SYSFS_ATTRIB_MAX]; }; -void nvhost_device_writel(struct platform_device *dev, u32 r, u32 v); -u32 nvhost_device_readl(struct platform_device *dev, u32 r); +void host1x_writel(struct platform_device *dev, u32 r, u32 v); +u32 host1x_readl(struct platform_device *dev, u32 r); /* public host1x power management APIs */ bool nvhost_module_powered_ext(struct platform_device *dev); |