Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP
[linux-2.6-block.git] / include / linux / io.h
index 8a18e75600ccb25b47f17decfacdef673de89713..b76e6e5458064551d53ae527281a8a353e9f6301 100644 (file)
@@ -41,7 +41,7 @@ static inline int ioremap_page_range(unsigned long addr, unsigned long end,
 /*
  * Managed iomap interface
  */
-#ifdef CONFIG_HAS_IOPORT
+#ifdef CONFIG_HAS_IOPORT_MAP
 void __iomem * devm_ioport_map(struct device *dev, unsigned long port,
                               unsigned int nr);
 void devm_ioport_unmap(struct device *dev, void __iomem *addr);