From: Jani Nikula Date: Tue, 6 May 2025 10:57:17 +0000 (+0300) Subject: drm/i915/display: remove struct drm_i915_private forward declaration X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=e4db15ea947717277f6f9b40e17fbdd728f26bbc;p=linux-2.6-microblaze.git drm/i915/display: remove struct drm_i915_private forward declaration Remove unused struct drm_i915_private forward declaration from intel_display_core.h. Sort and group forward declarations while at it. Reviewed-by: Gustavo Sousa Link: https://lore.kernel.org/r/fbccf45339a61711b377b35fd479a67b378c5571.1746529001.git.jani.nikula@intel.com Signed-off-by: Jani Nikula --- diff --git a/drivers/gpu/drm/i915/display/intel_display_core.h b/drivers/gpu/drm/i915/display/intel_display_core.h index dc834cef75c7..577eece30f46 100644 --- a/drivers/gpu/drm/i915/display/intel_display_core.h +++ b/drivers/gpu/drm/i915/display/intel_display_core.h @@ -30,9 +30,6 @@ #include "intel_pch.h" #include "intel_wm_types.h" -struct task_struct; - -struct drm_i915_private; struct drm_property; struct drm_property_blob; struct i915_audio_component; @@ -53,6 +50,7 @@ struct intel_hotplug_funcs; struct intel_initial_plane_config; struct intel_opregion; struct intel_overlay; +struct task_struct; /* Amount of SAGV/QGV points, BSpec precisely defines this */ #define I915_NUM_QGV_POINTS 8