diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2023-08-25 11:16:36 +0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2023-09-05 19:43:20 -0700 |
commit | afaa4ff0bc7820ba98be93efce806a27c3472d9b (patch) | |
tree | d6c0d3f0edb3b08e605165828e53829d1bfba04b /drivers/gpu/drm/i915/display/intel_tc.c | |
parent | 98090e0bf51addd6d3ddedb6c3685b47a7ca0724 (diff) | |
download | linux-afaa4ff0bc7820ba98be93efce806a27c3472d9b.tar.gz linux-afaa4ff0bc7820ba98be93efce806a27c3472d9b.tar.bz2 linux-afaa4ff0bc7820ba98be93efce806a27c3472d9b.zip |
drm/i915/tc: make intel_tc_port_get_lane_mask() static
This function is only used locally, so make it static and remove the
definition from the header file.
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230825081638.275795-3-luciano.coelho@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_tc.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_tc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_tc.c b/drivers/gpu/drm/i915/display/intel_tc.c index 71bbc2b16a0e..de848b329f4b 100644 --- a/drivers/gpu/drm/i915/display/intel_tc.c +++ b/drivers/gpu/drm/i915/display/intel_tc.c @@ -260,7 +260,7 @@ assert_tc_port_power_enabled(struct intel_tc_port *tc) !intel_display_power_is_enabled(i915, tc_port_power_domain(tc))); } -u32 intel_tc_port_get_lane_mask(struct intel_digital_port *dig_port) +static u32 intel_tc_port_get_lane_mask(struct intel_digital_port *dig_port) { struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); struct intel_tc_port *tc = to_tc_port(dig_port); |