arm: Export dma_set_coherent_mask() implementations
PATCH 1/1 arm: Export dma_set_coherent_mask() implementations
Commit 710224fa2750cf449c02dd115548acebfdd2c86a 'arm: fix "arm: fix pci_set_consistent_dma_mask for dmabounce devices"' made dma_set_coherent_mask() an extern function for some ARM platforms. Since this function is called from many drivers, it must be exported.
---
This is not even compile-tested yet, as I don't have a readily available ARM build system. Should be obvious though, right?
Ben.
arch/arm/common/it8152.c | 1 + arch/arm/mach-ixp4xx/common-pci.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/common/it8152.c +1 -0
@@ -278,6 +278,7 @@ int dma_set_coherent_mask(struct device *dev, u64 mask)return -EIO ; } +EXPORT_SYMBOL (dma_set_coherent_mask);int __init it8152_pci_setup (int nr,struct pci_sys_data *sys) {
arch/arm/mach-ixp4xx/common-pci.c +1 -0
@@ -510,6 +510,7 @@ int dma_set_coherent_mask(struct device *dev, u64 mask)return -EIO ; } +EXPORT_SYMBOL (dma_set_coherent_mask);EXPORT_SYMBOL (ixp4xx_pci_read);EXPORT_SYMBOL (ixp4xx_pci_write);
Signature · 1 line
1.7.2.3
PATCH 1/1 arm: Export dma_set_coherent_mask() implementations
Quoted 4 lines · Ben Hutchings
Commit
710224fa2750cf449c02dd115548acebfdd2c86a'arm: fix "arm: fixpci_set_consistent_dma_maskfor dmabounce devices"' madedma_set_coherent_mask()an extern function for some ARM platforms. Since this function is called from many drivers, it must be exported.
Imre already posted it, few weeks ago. Russell, is it ok if e.g. I send it to Linus and maybe stable?
Signature · 1 line
Krzysztof Halasa