]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/i915/display: remove struct drm_i915_private forward declaration
authorJani Nikula <jani.nikula@intel.com>
Tue, 6 May 2025 10:57:17 +0000 (13:57 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 7 May 2025 06:59:19 +0000 (09:59 +0300)
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 <gustavo.sousa@intel.com>
Link: https://lore.kernel.org/r/fbccf45339a61711b377b35fd479a67b378c5571.1746529001.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display_core.h

index dc834cef75c7fbb28cae09e1c8dcff2dae7014f9..577eece30f4622ee482cd5b96010ef364ca4dd7a 100644 (file)
@@ -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