ioremap.h (535B)
1#ifndef _SH_MM_IORMEMAP_H 2#define _SH_MM_IORMEMAP_H 1 3 4#ifdef CONFIG_IOREMAP_FIXED 5void __iomem *ioremap_fixed(phys_addr_t, unsigned long, pgprot_t); 6int iounmap_fixed(void __iomem *); 7void ioremap_fixed_init(void); 8#else 9static inline void __iomem * 10ioremap_fixed(phys_addr_t phys_addr, unsigned long size, pgprot_t prot) 11{ 12 BUG(); 13 return NULL; 14} 15static inline void ioremap_fixed_init(void) 16{ 17} 18static inline int iounmap_fixed(void __iomem *addr) 19{ 20 return -EINVAL; 21} 22#endif /* CONFIG_IOREMAP_FIXED */ 23#endif /* _SH_MM_IORMEMAP_H */