From: Jason Gunthorpe Date: Thu, 22 Sep 2022 19:20:19 +0000 (-0300) Subject: vfio: Add header guards and includes to drivers/vfio/vfio.h X-Git-Tag: v6.1-rc5~191^2~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3bb4de0a0380910180e758a30ccfda65f8e286e;p=platform%2Fkernel%2Flinux-starfive.git vfio: Add header guards and includes to drivers/vfio/vfio.h As is normal for headers. Reviewed-by: Kevin Tian Signed-off-by: Jason Gunthorpe Link: https://lore.kernel.org/r/1-v3-297af71838d2+b9-vfio_container_split_jgg@nvidia.com Signed-off-by: Alex Williamson --- diff --git a/drivers/vfio/vfio.h b/drivers/vfio/vfio.h index 503bea6..093784f 100644 --- a/drivers/vfio/vfio.h +++ b/drivers/vfio/vfio.h @@ -3,6 +3,14 @@ * Copyright (C) 2012 Red Hat, Inc. All rights reserved. * Author: Alex Williamson */ +#ifndef __VFIO_VFIO_H__ +#define __VFIO_VFIO_H__ + +#include +#include +#include + +struct iommu_group; enum vfio_group_type { /* @@ -69,3 +77,5 @@ struct vfio_iommu_driver_ops { int vfio_register_iommu_driver(const struct vfio_iommu_driver_ops *ops); void vfio_unregister_iommu_driver(const struct vfio_iommu_driver_ops *ops); + +#endif