Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b578e4b9 authored by Joerg Roedel's avatar Joerg Roedel Committed by Patrick Daly
Browse files

iommu: Include device.h in iommu.h



We make use of 'struct device' in iommu.h, so include
device.h to make it available explicitly.

Re-order the other headers while at it.

Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>

Git-commit: e8245c1b1a3bb8474f91c69ccd13637d3589bb2c
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Change-Id: Ifdb8b6c8a3210a8d4597790838cbb3d917e032f4
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent de1c64d2
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -19,11 +19,12 @@
#ifndef __LINUX_IOMMU_H
#define __LINUX_IOMMU_H

#include <linux/scatterlist.h>
#include <linux/device.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/of.h>
#include <linux/types.h>
#include <linux/scatterlist.h>
#include <trace/events/iommu.h>

#define IOMMU_READ	(1 << 0)