The patch titled Provide dummy devm_ioport_* if !HAS_IOPORT has been added to the -mm tree. Its filename is provide-dummy-devm_ioport_-if-has_ioport.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Provide dummy devm_ioport_* if !HAS_IOPORT From: Russell King <rmk+lkml@xxxxxxxxxxxxxxxx> Provide an dummy implementation of devm_ioport_map() and devm_ioport_unmap() to allow drivers (eg, pata_platform) to build for platforms where CONFIG_NO_IOPORT is selected. Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> Cc: Jeff Garzik <jeff@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/io.h | 13 +++++++++++++ 1 files changed, 13 insertions(+) diff -puN include/linux/io.h~provide-dummy-devm_ioport_-if-has_ioport include/linux/io.h --- a/include/linux/io.h~provide-dummy-devm_ioport_-if-has_ioport +++ a/include/linux/io.h @@ -33,9 +33,22 @@ int ioremap_page_range(unsigned long add /* * Managed iomap interface */ +#ifdef CONFIG_HAS_IOPORT void __iomem * devm_ioport_map(struct device *dev, unsigned long port, unsigned int nr); void devm_ioport_unmap(struct device *dev, void __iomem *addr); +#else +static inline void __iomem * devm_ioport_map(struct device *dev, + unsigned long port, + unsigned int nr) +{ + return NULL; +} + +static inline void devm_ioport_unmap(struct device *dev, void __iomem *addr) +{ +} +#endif void __iomem * devm_ioremap(struct device *dev, unsigned long offset, unsigned long size); _ Patches currently in -mm which might be from rmk+lkml@xxxxxxxxxxxxxxxx are provide-dummy-devm_ioport_-if-has_ioport.patch git-kbuild.patch driver_bfin_serial_core.patch driver_bfin_serial_core-update.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html