Root/target/linux/generic/patches-2.6.36/990-arm_export_dma_set_coherent_mask.patch

1From 6aeac0507d9710f201e2dd8b933431577e13be9e Mon Sep 17 00:00:00 2001
2From: Imre Kaloz <kaloz@openwrt.org>
3Date: Tue, 2 Nov 2010 12:30:44 +0100
4Subject: [PATCH] arm: export dma_set_coherent_mask
5
6While a regression was fixed with commit 710224fa2750cf (arm: fix
7"arm: fix pci_set_consistent_dma_mask for dmabounce devices"), a
8new one was introduced as dma_set_coherent_mask wasn't exported
9for modules. This patch takes care for this issue.
10
11Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
12---
13 arch/arm/common/it8152.c | 1 +
14 arch/arm/mach-ixp4xx/common-pci.c | 2 +-
15 2 files changed, 2 insertions(+), 1 deletions(-)
16
17--- a/arch/arm/common/it8152.c
18+++ b/arch/arm/common/it8152.c
19@@ -352,3 +352,4 @@ struct pci_bus * __init it8152_pci_scan_
20     return pci_scan_bus(nr, &it8152_ops, sys);
21 }
22 
23+EXPORT_SYMBOL(dma_set_coherent_mask);
24--- a/arch/arm/mach-ixp4xx/common-pci.c
25+++ b/arch/arm/mach-ixp4xx/common-pci.c
26@@ -513,4 +513,4 @@ int dma_set_coherent_mask(struct device
27 
28 EXPORT_SYMBOL(ixp4xx_pci_read);
29 EXPORT_SYMBOL(ixp4xx_pci_write);
30-
31+EXPORT_SYMBOL(dma_set_coherent_mask);
32

Archive Download this file



interactive