]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/asm-generic/io.h
Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP
[mirror_ubuntu-artful-kernel.git] / include / asm-generic / io.h
index d5afe96adba6c5ee239390625bbb93907c2cc1ba..975e1cc75edb55f9dcd19530eb08912b220e2641 100644 (file)
@@ -327,7 +327,7 @@ static inline void iounmap(void __iomem *addr)
 }
 #endif /* CONFIG_MMU */
 
-#ifdef CONFIG_HAS_IOPORT
+#ifdef CONFIG_HAS_IOPORT_MAP
 #ifndef CONFIG_GENERIC_IOMAP
 static inline void __iomem *ioport_map(unsigned long port, unsigned int nr)
 {
@@ -341,7 +341,7 @@ static inline void ioport_unmap(void __iomem *p)
 extern void __iomem *ioport_map(unsigned long port, unsigned int nr);
 extern void ioport_unmap(void __iomem *p);
 #endif /* CONFIG_GENERIC_IOMAP */
-#endif /* CONFIG_HAS_IOPORT */
+#endif /* CONFIG_HAS_IOPORT_MAP */
 
 #ifndef xlate_dev_kmem_ptr
 #define xlate_dev_kmem_ptr(p)  p