]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/radeon/dp: make radeon_dp_get_dp_link_config static
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Sep 2017 15:35:52 +0000 (11:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Oct 2017 00:16:29 +0000 (20:16 -0400)
It's not used outside this file any longer.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/atombios_dp.c
drivers/gpu/drm/radeon/radeon_mode.h

index 432cb46f6a34a10753e30317562ce2df5315a890..a904c80c30e6974d1996b4972d25f0e7d876e4a9 100644 (file)
@@ -304,10 +304,10 @@ static int convert_bpc_to_bpp(int bpc)
 
 /***** radeon specific DP functions *****/
 
-int radeon_dp_get_dp_link_config(struct drm_connector *connector,
-                                const u8 dpcd[DP_DPCD_SIZE],
-                                unsigned pix_clock,
-                                unsigned *dp_lanes, unsigned *dp_rate)
+static int radeon_dp_get_dp_link_config(struct drm_connector *connector,
+                                       const u8 dpcd[DP_DPCD_SIZE],
+                                       unsigned pix_clock,
+                                       unsigned *dp_lanes, unsigned *dp_rate)
 {
        int bpp = convert_bpc_to_bpp(radeon_get_monitor_bpc(connector));
        static const unsigned link_rates[3] = { 162000, 270000, 540000 };
index da44ac234f6410731d0207ee3d25ed15f8b778c0..ca0a7ed28c9b5cc94ff7155624cf6c5e8f03e986 100644 (file)
@@ -762,10 +762,6 @@ extern u8 radeon_dp_getsinktype(struct radeon_connector *radeon_connector);
 extern bool radeon_dp_getdpcd(struct radeon_connector *radeon_connector);
 extern int radeon_dp_get_panel_mode(struct drm_encoder *encoder,
                                    struct drm_connector *connector);
-extern int radeon_dp_get_dp_link_config(struct drm_connector *connector,
-                                       const u8 *dpcd,
-                                       unsigned pix_clock,
-                                       unsigned *dp_lanes, unsigned *dp_rate);
 extern void radeon_dp_set_rx_power_state(struct drm_connector *connector,
                                         u8 power_state);
 extern void radeon_dp_aux_init(struct radeon_connector *radeon_connector);