[Intel-xe] [PATCH] drm/xe: Include only relevant header in xe_module.h
Gustavo Sousa
gustavo.sousa at intel.com
Wed May 3 17:49:22 UTC 2023
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>
---
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