summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.37/990-arm_export_dma_set_coherent_mask.patch
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-03 16:13:33 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-03 16:13:33 +0000
commit8be1093039aa9942ec456dff0255c2b0c41f2cce (patch)
treee173de5498db08719c81621c36a6bbbdb0c67eb0 /target/linux/generic/patches-2.6.37/990-arm_export_dma_set_coherent_mask.patch
parentc588a703feb2241e803da3db71f685b57b408102 (diff)
target/linux: add preliminary 2.6.37 kernel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23828 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.37/990-arm_export_dma_set_coherent_mask.patch')
-rw-r--r--target/linux/generic/patches-2.6.37/990-arm_export_dma_set_coherent_mask.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.37/990-arm_export_dma_set_coherent_mask.patch b/target/linux/generic/patches-2.6.37/990-arm_export_dma_set_coherent_mask.patch
new file mode 100644
index 000000000..e1fcf448c
--- /dev/null
+++ b/target/linux/generic/patches-2.6.37/990-arm_export_dma_set_coherent_mask.patch
@@ -0,0 +1,31 @@
+From 6aeac0507d9710f201e2dd8b933431577e13be9e Mon Sep 17 00:00:00 2001
+From: Imre Kaloz <kaloz@openwrt.org>
+Date: Tue, 2 Nov 2010 12:30:44 +0100
+Subject: [PATCH] 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>
+---
+ arch/arm/common/it8152.c | 1 +
+ arch/arm/mach-ixp4xx/common-pci.c | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletions(-)
+
+--- a/arch/arm/common/it8152.c
++++ b/arch/arm/common/it8152.c
+@@ -352,3 +352,4 @@ struct pci_bus * __init it8152_pci_scan_
+ return pci_scan_bus(nr, &it8152_ops, sys);
+ }
+
++EXPORT_SYMBOL(dma_set_coherent_mask);
+--- 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
+
+ EXPORT_SYMBOL(ixp4xx_pci_read);
+ EXPORT_SYMBOL(ixp4xx_pci_write);
+-
++EXPORT_SYMBOL(dma_set_coherent_mask);