]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - lib/devres.c
Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP
[mirror_ubuntu-artful-kernel.git] / lib / devres.c
index 48cb3c7bd7de6e0e3382113c3b072373f0775549..2f16c133fd368c9508a7c3bccf60cbec49648e9b 100644 (file)
@@ -170,7 +170,7 @@ void __iomem *devm_request_and_ioremap(struct device *device,
 }
 EXPORT_SYMBOL(devm_request_and_ioremap);
 
-#ifdef CONFIG_HAS_IOPORT
+#ifdef CONFIG_HAS_IOPORT_MAP
 /*
  * Generic iomap devres
  */
@@ -229,7 +229,7 @@ void devm_ioport_unmap(struct device *dev, void __iomem *addr)
                               devm_ioport_map_match, (__force void *)addr));
 }
 EXPORT_SYMBOL(devm_ioport_unmap);
-#endif /* CONFIG_HAS_IOPORT */
+#endif /* CONFIG_HAS_IOPORT_MAP */
 
 #ifdef CONFIG_PCI
 /*