From patchwork Mon Jul 13 10:16:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joerg Roedel X-Patchwork-Id: 11659309 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 84F1C138C for ; Mon, 13 Jul 2020 10:18:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5DB5920773 for ; Mon, 13 Jul 2020 10:18:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Z+hJJca9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5DB5920773 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=8bytes.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=V6FHvzc6MGZx+QnJWhGbdgoDuf9sqG8nAdqeNlzzoXc=; b=Z+hJJca9JdAgF6ShLqA6/vquaJ TMAXzQl1IkIcApZ5t18Bd3fDLHkQ0meJnODsBB666CEwPil51yL4+9JS4Bdg313eKIwdAL9g/tEFz sX5QUOrbU0JCFuB7P9ZdkJR57pAuo/e9dh+UrbsB6tJnJcgZXQs4voBDLFguIgdX9/Tpxd+gisjV3 060R7t6vTU7AadK8MnkavgB6/78/wNPB7y1PlfUaF1X5ZnVFDSfz3bn8gcfI12OzvBw2mVVmEea7E nil+sACQLcoOdh9RjKcNCkAksKhnhfBdYoCtsHl26sF6gEc5/q0szEjrHx+dDT9h2lXYJJUuLM3wD kRHK4Wgg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1juvWL-0006q6-9e; Mon, 13 Jul 2020 10:17:13 +0000 Received: from 8bytes.org ([2a01:238:4383:600:38bc:a715:4b6d:a889] helo=theia.8bytes.org) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1juvWI-0006pR-Ve; Mon, 13 Jul 2020 10:17:11 +0000 Received: by theia.8bytes.org (Postfix, from userid 1000) id 9355136B; Mon, 13 Jul 2020 12:17:08 +0200 (CEST) From: Joerg Roedel To: Joerg Roedel Subject: [PATCH] iommu/mediatek: Include liunx/dma-mapping.h Date: Mon, 13 Jul 2020 12:16:48 +0200 Message-Id: <20200713101648.32056-1-joro@8bytes.org> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200713_061711_136889_5B7649FF X-CRM114-Status: GOOD ( 11.45 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Joerg Roedel , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Joerg Roedel This fixes a compile error when cross-compiling the driver on x86-32. Signed-off-by: Joerg Roedel Reviewed-by: Matthias Brugger --- drivers/iommu/mtk_iommu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/mtk_iommu.h b/drivers/iommu/mtk_iommu.h index 6ff62452bbf9..122925dbe547 100644 --- a/drivers/iommu/mtk_iommu.h +++ b/drivers/iommu/mtk_iommu.h @@ -15,6 +15,7 @@ #include #include #include +#include #include #define MTK_LARB_COM_MAX 8