commit: ecd1c02e9fea1c684c9698e8ce6a552656ba0871 [21/22] iommu/vt-d, trivial: clean sparse warnings config: make ARCH=ia64 defconfig
All error/warnings: arch/ia64/kernel/built-in.o: In function `pci_iommu_alloc': >> (.init.text+0xb541): undefined reference to `intel_dma_ops' arch/ia64/kernel/built-in.o: In function `pci_iommu_alloc': >> (.init.text+0xb561): undefined reference to `intel_dma_ops' Signed-off-by: Jiang Liu <[email protected]> --- Hi Joerg, Could you please help to fold this into "[21/22] iommu/vt-d, trivial: clean sparse warnings"? Thanks! Gerry --- drivers/iommu/intel-iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index 0863e25..70a3257 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c @@ -3128,7 +3128,7 @@ static int intel_mapping_error(struct device *dev, dma_addr_t dma_addr) return !dma_addr; } -static struct dma_map_ops intel_dma_ops = { +struct dma_map_ops intel_dma_ops = { .alloc = intel_alloc_coherent, .free = intel_free_coherent, .map_sg = intel_map_sg, -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

