kernel: update linux 3.8 to 3.8.7
[openwrt/staging/mkresin.git] / target / linux / mvebu / patches-3.8 / 028-lib_devres_dont_enclose_pcim.patch
1 The pcim_*() functions are used by the libata-sff subsystem, and this
2 subsystem is used for many SATA drivers on ARM platforms that do not
3 necessarily have I/O ports.
4
5 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
7 Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
8 Cc: Yinghai Lu <yinghai@kernel.org>
9 Cc: linux-kernel@vger.kernel.org
10 ---
11 lib/devres.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 --- a/lib/devres.c
15 +++ b/lib/devres.c
16 @@ -226,6 +226,7 @@ void devm_ioport_unmap(struct device *de
17 devm_ioport_map_match, (void *)addr));
18 }
19 EXPORT_SYMBOL(devm_ioport_unmap);
20 +#endif /* CONFIG_HAS_IOPORT */
21
22 #ifdef CONFIG_PCI
23 /*
24 @@ -431,4 +432,3 @@ void pcim_iounmap_regions(struct pci_dev
25 }
26 EXPORT_SYMBOL(pcim_iounmap_regions);
27 #endif /* CONFIG_PCI */
28 -#endif /* CONFIG_HAS_IOPORT */