Skip to content
Commit dc012014 authored by Thierry Reding's avatar Thierry Reding
Browse files

Change xlate_dev_{kmem,mem}_ptr() prototypes



xlate_dev_mem_ptr() is used to convert a physical address to an uncached
kernel virtual address mapping, so make it use phys_addr_t as type for
the physical address and return void * for the kernel virtual address.

xlate_dev_kmem_ptr() converts a cached kernel virtual address mapping to
an uncached kernel virtual address mapping, so make it use void * for
both the input parameter and return value.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 2e0fa0c9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment