drm/i915/display: fix typo when returning table
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 21 May 2021 00:52:09 +0000 (17:52 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 25 May 2021 06:20:57 +0000 (23:20 -0700)
commit6f20785b760119dfc9e5ad569110a9b0e6b3fe35
treed6d5a2efb4b92099eb60a8ce993f946366266ac7
parent273895109a04521eb6f2e3ab872d7d95a54c2c6b
drm/i915/display: fix typo when returning table

Fix table returned when port_clock > 270000:

drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:752:47: error: variable 'adlp_dkl_phy_dp_ddi_trans_hbr2_hbr3' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]

Initial version of the patch had it in a single table, but on second
version the table got split, but we continued to reference just one of
them.

Fixes: ca962882268a ("drm/i915/adl_p: Define and use ADL-P specific DP translation tables")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210521005209.4058702-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c