drm/i915: Make intel_dp_process_phy_request() static
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 29 Sep 2020 23:34:41 +0000 (02:34 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 1 Oct 2020 13:29:26 +0000 (16:29 +0300)
intel_dp_process_phy_request() has no business being externally
visible. Make it static.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200929233449.32323-4-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp.h

index 3586d79..5c67308 100644 (file)
@@ -5562,7 +5562,7 @@ intel_dp_autotest_phy_ddi_enable(struct intel_dp *intel_dp, uint8_t lane_cnt)
                       trans_ddi_func_ctl_value);
 }
 
-void intel_dp_process_phy_request(struct intel_dp *intel_dp)
+static void intel_dp_process_phy_request(struct intel_dp *intel_dp)
 {
        struct drm_dp_phy_test_params *data =
                &intel_dp->compliance.test_data.phytest;
index a9580d1..60f44f4 100644 (file)
@@ -123,7 +123,6 @@ void intel_read_dp_sdp(struct intel_encoder *encoder,
                       struct intel_crtc_state *crtc_state,
                       unsigned int type);
 bool intel_digital_port_connected(struct intel_encoder *encoder);
-void intel_dp_process_phy_request(struct intel_dp *intel_dp);
 
 static inline unsigned int intel_dp_unused_lane_mask(int lane_count)
 {