summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2010-12-28 00:59:57 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2010-12-28 22:22:20 +0300
commit88a58101608f1416f4c1ec81d88faed258a34b3d (patch)
treec5ea348f0341881002e3707c041e85084c08666b /arch
parent1873bb8115e678ad9fd0aac9dbbc68383bc36e06 (diff)
downloadlinux-88a58101608f1416f4c1ec81d88faed258a34b3d.tar.xz
ARM: fix IXP4xx build failure
arm: export dma_set_coherent_mask While a regression was fixed with commit 710224fa2750cf (arm: fix "arm: fix pci_set_consistent_dma_mask for dmabounce devices"), a new one was introduced as dma_set_coherent_mask wasn't exported for modules. This patch takes care for this issue. Signed-off-by: Imre Kaloz <kaloz@openwrt.org> Signed-off-by: Krzysztof HaƂasa <khc@pm.waw.pl> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/common/it8152.c1
-rw-r--r--arch/arm/mach-ixp4xx/common-pci.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/common/it8152.c b/arch/arm/common/it8152.c
index 1bec96e85196..42ff90b46dfb 100644
--- a/arch/arm/common/it8152.c
+++ b/arch/arm/common/it8152.c
@@ -352,3 +352,4 @@ struct pci_bus * __init it8152_pci_scan_bus(int nr, struct pci_sys_data *sys)
return pci_scan_bus(nr, &it8152_ops, sys);
}
+EXPORT_SYMBOL(dma_set_coherent_mask);
diff --git a/arch/arm/mach-ixp4xx/common-pci.c b/arch/arm/mach-ixp4xx/common-pci.c
index 24498a932ba6..a54b3db80366 100644
--- a/arch/arm/mach-ixp4xx/common-pci.c
+++ b/arch/arm/mach-ixp4xx/common-pci.c
@@ -513,4 +513,4 @@ int dma_set_coherent_mask(struct device *dev, u64 mask)
EXPORT_SYMBOL(ixp4xx_pci_read);
EXPORT_SYMBOL(ixp4xx_pci_write);
-
+EXPORT_SYMBOL(dma_set_coherent_mask);