X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=lib%2Fdevres.c;h=10231287fbcc9be0bd95735934754663753630a1;hb=52839bfb0c4b56b5c2688c96ce656df4034b2c87;hp=823533138fa04e8f43445323a2118bfb4ac0d646;hpb=2c06aeb25ca92b839399c4e2c956cffc95b41978;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git diff --git a/lib/devres.c b/lib/devres.c index 8235331..1023128 100644 --- a/lib/devres.c +++ b/lib/devres.c @@ -168,7 +168,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 */ @@ -227,7 +227,7 @@ void devm_ioport_unmap(struct device *dev, void __iomem *addr) devm_ioport_map_match, (void *)addr)); } EXPORT_SYMBOL(devm_ioport_unmap); -#endif /* CONFIG_HAS_IOPORT */ +#endif /* CONFIG_HAS_IOPORT_MAP */ #ifdef CONFIG_PCI /*