Skip to content

Commit

Permalink
ARM: fix IXP4xx build failure
Browse files Browse the repository at this point in the history
arm: export dma_set_coherent_mask

While a regression was fixed with commit 710224f (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>
  • Loading branch information
Imre Kaloz authored and Linus Torvalds committed Dec 28, 2010
1 parent 1873bb8 commit 88a5810
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions arch/arm/common/it8152.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
2 changes: 1 addition & 1 deletion arch/arm/mach-ixp4xx/common-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 88a5810

Please sign in to comment.