Merge tag 'please-pull-next' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl...
[muen/linux.git] / arch / ia64 / sn / pci / pci_dma.c
index 3b944fba0a3eb62d3cd84c03f250c09d6209eef2..4ce4ee4ef9f2c7b74b48fdc19c2d4706f6fab173 100644 (file)
@@ -319,11 +319,10 @@ static int sn_dma_mapping_error(struct device *dev, dma_addr_t dma_addr)
        return 0;
 }
 
-u64 sn_dma_get_required_mask(struct device *dev)
+static u64 sn_dma_get_required_mask(struct device *dev)
 {
        return DMA_BIT_MASK(64);
 }
-EXPORT_SYMBOL_GPL(sn_dma_get_required_mask);
 
 char *sn_pci_get_legacy_mem(struct pci_bus *bus)
 {
@@ -444,6 +443,7 @@ static struct dma_map_ops sn_dma_ops = {
        .unmap_sg               = sn_dma_unmap_sg,
        .mapping_error          = sn_dma_mapping_error,
        .dma_supported          = sn_dma_supported,
+       .get_required_mask      = sn_dma_get_required_mask,
 };
 
 void sn_dma_init(void)