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

Commit e8245c1b authored by Joerg Roedel's avatar Joerg Roedel
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>
parent 3ba8775f
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -19,11 +19,13 @@
#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)