public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* Fix IXP4xx build
@ 2010-12-12 21:52 Krzysztof Halasa
  2010-12-12 23:47 ` Russell King - ARM Linux
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Halasa @ 2010-12-12 21:52 UTC (permalink / raw)
  To: linux-arm-kernel

Russell,

Is it ok if I send the following to Linus, or would you like to do it
yourself? Leaving IXP4xx build broken for 2.6.37 isn't the best idea.

From: Imre Kaloz <kaloz@openwrt.org>

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>

--- 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);
--- a/arch/arm/mach-ixp4xx/common-pci.c
+++ b/arch/arm/mach-ixp4xx/common-pci.c
@@ -483,4 +483,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);

-- 
Krzysztof Halasa

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-13 21:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-12 21:52 Fix IXP4xx build Krzysztof Halasa
2010-12-12 23:47 ` Russell King - ARM Linux
2010-12-13 21:04   ` Krzysztof Halasa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox