diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-01-17 22:29:13 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-01-17 22:29:13 +0000 |
commit | 7e1e7063c26dccb6f47a00db72612e9f8c57c016 (patch) | |
tree | 21c7b51af4a457d4a7c8af7106a86d26f55f6af3 /target/linux/mvebu/patches-3.8/028-lib_devres_dont_enclose_pcim.patch | |
parent | 29c21b973be0ba7a07f0b13ef1198155a1ddc055 (diff) | |
download | mtk-20170518-7e1e7063c26dccb6f47a00db72612e9f8c57c016.zip mtk-20170518-7e1e7063c26dccb6f47a00db72612e9f8c57c016.tar.gz mtk-20170518-7e1e7063c26dccb6f47a00db72612e9f8c57c016.tar.bz2 |
mvebu: add preliminary support for PCI express
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35211
Diffstat (limited to 'target/linux/mvebu/patches-3.8/028-lib_devres_dont_enclose_pcim.patch')
-rw-r--r-- | target/linux/mvebu/patches-3.8/028-lib_devres_dont_enclose_pcim.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-3.8/028-lib_devres_dont_enclose_pcim.patch b/target/linux/mvebu/patches-3.8/028-lib_devres_dont_enclose_pcim.patch new file mode 100644 index 0000000..3872924 --- /dev/null +++ b/target/linux/mvebu/patches-3.8/028-lib_devres_dont_enclose_pcim.patch @@ -0,0 +1,28 @@ +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 +@@ -195,6 +195,7 @@ void devm_ioport_unmap(struct device *de + devm_ioport_map_match, (void *)addr)); + } + EXPORT_SYMBOL(devm_ioport_unmap); ++#endif /* CONFIG_HAS_IOPORT */ + + #ifdef CONFIG_PCI + /* +@@ -400,4 +401,3 @@ void pcim_iounmap_regions(struct pci_dev + } + EXPORT_SYMBOL(pcim_iounmap_regions); + #endif /* CONFIG_PCI */ +-#endif /* CONFIG_HAS_IOPORT */ |