OSDN Git Service

dma-mapping: fix build when !CONFIG_ARM_DMA_USE_IOMMU
authorShiraz Hashim <shashim@codeaurora.org>
Wed, 18 Nov 2015 07:16:05 +0000 (12:46 +0530)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:14:34 +0000 (11:14 -0700)
commitd880efb0215477d2d2772a11e1d6a6c9dbade606
tree9005d049b78c9d1158ae30a2e28402b3acd7c902
parent3a25b40a4e0aff69443e446e4293c7b63828c331
dma-mapping: fix build when !CONFIG_ARM_DMA_USE_IOMMU

Allow compilation when CONFIG_ARM_DMA_USE_IOMMU is not
selected by providing necessary stub functions and fix few
mismatch in function declarations.

Following this, remove the changes introduced by
f3d8d1061fb0b146b3f5 ("msm: ipa: add empty implementation
for iommu functions") as they are no longer needed.

Change-Id: I04e3aa63407064e8d9c9550a5cb0a82ede899f00
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
arch/arm/include/asm/dma-iommu.h
arch/arm64/include/asm/dma-iommu.h
include/linux/msm_dma_iommu_mapping.h