]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/xe: Include only relevant header in xe_module.h
authorGustavo Sousa <gustavo.sousa@intel.com>
Wed, 3 May 2023 17:49:22 +0000 (14:49 -0300)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:33:13 +0000 (18:33 -0500)
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@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20230503174922.252111-1-gustavo.sousa@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_module.h

index 86916c176382572e603ea8d26f93b0f0cd6e3957..7169907c3365ddbb578f90a1fa3a08cabd7374ed 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright © 2023 Intel Corporation
  */
 
-#include <linux/init.h>
+#include <linux/types.h>
 
 /* Module modprobe variables */
 extern bool enable_guc;