X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=lib%2Fdevres.c;h=2f16c133fd368c9508a7c3bccf60cbec49648e9b;hb=0e37c275426c34712d4661d86c375779f3836a7e;hp=48cb3c7bd7de6e0e3382113c3b072373f0775549;hpb=62d6f06cd5c8dd2cfcc351f6e3b41d71d43c4ee3;p=karo-tx-linux.git diff --git a/lib/devres.c b/lib/devres.c index 48cb3c7bd7de..2f16c133fd36 100644 --- a/lib/devres.c +++ b/lib/devres.c @@ -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 /*