]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/asm-generic/iomap.h
Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP
[karo-tx-linux.git] / include / asm-generic / iomap.h
index 6afd7d6a9899c49fe721a7bb989c947ea5dc9c75..1b41011643a5ebb694742f7a11ba6c54bba35a16 100644 (file)
@@ -56,7 +56,7 @@ extern void iowrite8_rep(void __iomem *port, const void *buf, unsigned long coun
 extern void iowrite16_rep(void __iomem *port, const void *buf, unsigned long count);
 extern void iowrite32_rep(void __iomem *port, const void *buf, unsigned long count);
 
-#ifdef CONFIG_HAS_IOPORT
+#ifdef CONFIG_HAS_IOPORT_MAP
 /* Create a virtual mapping cookie for an IO port range */
 extern void __iomem *ioport_map(unsigned long port, unsigned int nr);
 extern void ioport_unmap(void __iomem *);