[PATCH 1/8] vfio/mdev: make mdev.h standalone includable

Christoph Hellwig hch at lst.de
Fri Jun 3 06:33:21 UTC 2022


Include <linux/device.h> and <linux/uuid.h> so that users of this headers
don't need to do that.

Signed-off-by: Christoph Hellwig <hch at lst.de>
---
 include/linux/mdev.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/linux/mdev.h b/include/linux/mdev.h
index bb539794f54a8..555c1d015b5f0 100644
--- a/include/linux/mdev.h
+++ b/include/linux/mdev.h
@@ -10,6 +10,9 @@
 #ifndef MDEV_H
 #define MDEV_H
 
+#include <linux/device.h>
+#include <linux/uuid.h>
+
 struct mdev_type;
 
 struct mdev_device {
-- 
2.30.2



More information about the intel-gvt-dev mailing list