From 450619d328d0824fab649187019cbea3532f879c Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 29 Sep 2017 17:13:23 +1000 Subject: [PATCH] amdgpu/dc: move some one line dp functions to inlines. Signed-off-by: Dave Airlie Reviewed-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c index 38ccc011004d..305ca0decfaa 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c @@ -1191,12 +1191,12 @@ struct dc_link_settings get_common_supported_link_settings ( return link_settings; } -bool reached_minimum_lane_count(enum dc_lane_count lane_count) +static inline bool reached_minimum_lane_count(enum dc_lane_count lane_count) { return lane_count <= LANE_COUNT_ONE; } -bool reached_minimum_link_rate(enum dc_link_rate link_rate) +static inline bool reached_minimum_link_rate(enum dc_link_rate link_rate) { return link_rate <= LINK_RATE_LOW; } -- 2.30.2