commit | 8e6b13a7b298edec16fb05aca0200ad400c9d1ea | [log] [tgz] |
---|---|---|
author | Jani Nikula <jani.nikula@intel.com> | Wed Aug 18 13:11:07 2021 +0300 |
committer | Jani Nikula <jani.nikula@intel.com> | Fri Aug 20 10:28:53 2021 +0300 |
tree | 3d24a73365e114341abf6cdec74ec40ff3da8d47 | |
parent | 4b5777af5bb17398c7764c8f3b66f344b5a5cb6f [diff] [blame] |
drm/i915/pm: use forward declaration to remove an include The fewer includes the better. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/dcb426e4c6497f9ee3356c5f4fd4aaabd6295262.1629281426.git.jani.nikula@intel.com
diff --git a/drivers/gpu/drm/i915/intel_pm.h b/drivers/gpu/drm/i915/intel_pm.h index 91f23b7..941b3ae 100644 --- a/drivers/gpu/drm/i915/intel_pm.h +++ b/drivers/gpu/drm/i915/intel_pm.h
@@ -8,7 +8,6 @@ #include <linux/types.h> -#include "display/intel_bw.h" #include "display/intel_display.h" #include "display/intel_global_state.h" @@ -19,6 +18,7 @@ struct drm_device; struct drm_i915_private; struct i915_request; struct intel_atomic_state; +struct intel_bw_state; struct intel_crtc; struct intel_crtc_state; struct intel_plane;