diff options
Diffstat (limited to 'include/asm-blackfin/io.h')
| -rw-r--r-- | include/asm-blackfin/io.h | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/include/asm-blackfin/io.h b/include/asm-blackfin/io.h index da5891498..680649498 100644 --- a/include/asm-blackfin/io.h +++ b/include/asm-blackfin/io.h @@ -64,6 +64,11 @@ static inline void unmap_physmem(void *vaddr, unsigned long flags)  } +static inline phys_addr_t virt_to_phys(void * vaddr) +{ +	return (phys_addr_t)(vaddr); +} +  /*   * These are for ISA/PCI shared memory _only_ and should never be used   * on any other type of memory, including Zorro memory. They are meant to |