Skip to content

Commit 397e18b

Browse files
committed
iommu/mediatek: Include liunx/dma-mapping.h
This fixes a compile error when cross-compiling the driver on x86-32. Signed-off-by: Joerg Roedel <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 068c86e commit 397e18b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/iommu/mtk_iommu.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <linux/iommu.h>
1616
#include <linux/list.h>
1717
#include <linux/spinlock.h>
18+
#include <linux/dma-mapping.h>
1819
#include <soc/mediatek/smi.h>
1920

2021
#define MTK_LARB_COM_MAX 8

0 commit comments

Comments
 (0)