Skip to contentSkip to conversation

powerpc/dma: Basic DMA operations shouldn't be GPL only

PATCH New Benjamin Herrenschmidt 1 participant 1 message Oct 27, 2015 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/dma: Basic DMA operations shouldn't be GPL only

When turning these from inline to exported functions I was a bit over-eager and made them GPL only. This basically prevent use of any non-GPL PCI driver which is a bit over the top. Bring them in line with other architecture.

---

arch/powerpc/kernel/dma.c +2 -2
index 59503ed..18ea012 100644
@@ -303,7 +303,7 @@ int dma_set_coherent_mask(struct device *dev, u64 mask)
 	dev->coherent_dma_mask = mask;
 	return 0;
 }
-EXPORT_SYMBOL_GPL(dma_set_coherent_mask);
+EXPORT_SYMBOL(dma_set_coherent_mask);
 
 #define PREALLOC_DMA_DEBUG_ENTRIES (1 << 16)
 
@@ -362,7 +362,7 @@ u64 dma_get_required_mask(struct device *dev)
 
 	return __dma_get_required_mask(dev);
 }
-EXPORT_SYMBOL_GPL(dma_get_required_mask);
+EXPORT_SYMBOL(dma_get_required_mask);
 
 static int __init dma_init(void)
 {