2013-01-17 22:29:13 +00:00
|
|
|
The pcim_*() functions are used by the libata-sff subsystem, and this
|
|
|
|
subsystem is used for many SATA drivers on ARM platforms that do not
|
|
|
|
necessarily have I/O ports.
|
|
|
|
|
|
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
|
|
|
|
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
|
|
|
|
Cc: Yinghai Lu <yinghai@kernel.org>
|
|
|
|
Cc: linux-kernel@vger.kernel.org
|
|
|
|
---
|
|
|
|
lib/devres.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
--- a/lib/devres.c
|
|
|
|
+++ b/lib/devres.c
|
2013-04-14 09:25:53 +00:00
|
|
|
@@ -226,6 +226,7 @@ void devm_ioport_unmap(struct device *de
|
2013-01-17 22:29:13 +00:00
|
|
|
devm_ioport_map_match, (void *)addr));
|
|
|
|
}
|
|
|
|
EXPORT_SYMBOL(devm_ioport_unmap);
|
|
|
|
+#endif /* CONFIG_HAS_IOPORT */
|
|
|
|
|
|
|
|
#ifdef CONFIG_PCI
|
|
|
|
/*
|
2013-04-14 09:25:53 +00:00
|
|
|
@@ -431,4 +432,3 @@ void pcim_iounmap_regions(struct pci_dev
|
2013-01-17 22:29:13 +00:00
|
|
|
}
|
|
|
|
EXPORT_SYMBOL(pcim_iounmap_regions);
|
|
|
|
#endif /* CONFIG_PCI */
|
|
|
|
-#endif /* CONFIG_HAS_IOPORT */
|