drm/i915: Remove repeated declaration
authorWan Jiabing <wanjiabing@vivo.com>
Fri, 26 Mar 2021 01:25:17 +0000 (09:25 +0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Mon, 29 Mar 2021 19:39:35 +0000 (12:39 -0700)
struct drm_i915_private, struct intel_crtc_state and
struct intel_crtc is declared twice.
Remove the duplicate.

Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210326012527.875026-1-wanjiabing@vivo.com
drivers/gpu/drm/i915/display/intel_crt.h
drivers/gpu/drm/i915/display/intel_display.h
drivers/gpu/drm/i915/display/intel_vrr.h

index 1b3fba359efc6b4ef19483c2360e4e816fe3852a..6c5c44600cbdaacda4fb6d5795f3da4cdb4766c3 100644 (file)
@@ -11,7 +11,6 @@
 enum pipe;
 struct drm_encoder;
 struct drm_i915_private;
-struct drm_i915_private;
 
 bool intel_crt_port_enabled(struct drm_i915_private *dev_priv,
                            i915_reg_t adpa_reg, enum pipe *pipe);
index 431770eeadb470cb9f82fda5fa42c245582b2ec8..96112e3e5bd1bbfd7223bc4a110f7fc1c3bd225b 100644 (file)
@@ -48,7 +48,6 @@ struct i915_ggtt_view;
 struct intel_atomic_state;
 struct intel_crtc;
 struct intel_crtc_state;
-struct intel_crtc_state;
 struct intel_digital_port;
 struct intel_dp;
 struct intel_encoder;
index fac01bf4ab5008f81ade1922d43d378264e3237d..96f9c9c27ab9f792e302562d8e2387e6141c6e65 100644 (file)
@@ -15,7 +15,6 @@ struct intel_crtc;
 struct intel_crtc_state;
 struct intel_dp;
 struct intel_encoder;
-struct intel_crtc;
 
 bool intel_vrr_is_capable(struct drm_connector *connector);
 void intel_vrr_check_modeset(struct intel_atomic_state *state);