[PATCH 1/8] vfio/mdev: make mdev.h standalone includable
Tian, Kevin
kevin.tian at intel.com
Thu Jun 9 06:43:51 UTC 2022
> From: Christoph Hellwig
> Sent: Friday, June 3, 2022 2:33 PM
>
> Include <linux/device.h> and <linux/uuid.h> so that users of this headers
> don't need to do that.
looks the existing inclusions in those users are not removed...
>
> 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