[Intel-xe] [PATCH] drm/xe: Include only relevant header in xe_module.h
Matthew Brost
matthew.brost at intel.com
Thu May 4 04:28:41 UTC 2023
On Wed, May 03, 2023 at 02:49:22PM -0300, Gustavo Sousa wrote:
> Things defined in <linux/init.h> are not really used by that header.
> Replace that with <linux/types.h>, to have bool and u32 available.
>
> Signed-off-by: Gustavo Sousa <gustavo.sousa at intel.com>
Reviewed-by: Matthew Brost <matthew.brost at intel.com>
> ---
> drivers/gpu/drm/xe/xe_module.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_module.h b/drivers/gpu/drm/xe/xe_module.h
> index 86916c176382..7169907c3365 100644
> --- a/drivers/gpu/drm/xe/xe_module.h
> +++ b/drivers/gpu/drm/xe/xe_module.h
> @@ -3,7 +3,7 @@
> * Copyright © 2023 Intel Corporation
> */
>
> -#include <linux/init.h>
> +#include <linux/types.h>
>
> /* Module modprobe variables */
> extern bool enable_guc;
> --
> 2.40.0
>
More information about the Intel-xe
mailing list