]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iommu/mediatek: Include liunx/dma-mapping.h
authorJoerg Roedel <jroedel@suse.de>
Mon, 13 Jul 2020 10:16:48 +0000 (12:16 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 13 Jul 2020 10:18:44 +0000 (12:18 +0200)
This fixes a compile error when cross-compiling the driver
on x86-32.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Link: https://lore.kernel.org/r/20200713101648.32056-1-joro@8bytes.org
drivers/iommu/mtk_iommu.h

index 21489857802654590f73fe3f910fc0845edec5c1..6253e98d810c756c5de2d19734a3667037ea819c 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/iommu.h>
 #include <linux/list.h>
 #include <linux/spinlock.h>
+#include <linux/dma-mapping.h>
 #include <soc/mediatek/smi.h>
 
 #define MTK_LARB_COM_MAX       8