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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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@xxxxxx>
> ---
>  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





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux