phy: phy-rockchip-samsung-hdptx: Select CONFIG_RATIONAL
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Mon, 8 Apr 2024 22:29:25 +0000 (01:29 +0300)
committerVinod Koul <vkoul@kernel.org>
Fri, 12 Apr 2024 09:42:13 +0000 (15:12 +0530)
commite1c9216bec2793d051f83d77d93d3d6a899d06d1
treeb103d9bf95bcc085fca7a1b1315cdb1e6859561d
parent47b3e2f3914ae5e8d9025d65ae5cffcbb54bc9c3
phy: phy-rockchip-samsung-hdptx: Select CONFIG_RATIONAL

Ensure CONFIG_RATIONAL is selected in order to fix the following link
error with some kernel configurations:

drivers/phy/rockchip/phy-rockchip-samsung-hdptx.o: in function `rk_hdptx_ropll_tmds_cmn_config':
phy-rockchip-samsung-hdptx.c:(.text+0x950): undefined reference to `rational_best_approximation'

Fixes: 553be2830c5f ("phy: rockchip: Add Samsung HDMI/eDP Combo PHY driver")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202404090540.2l1TEkDF-lkp@intel.com/
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20240408222926.32708-1-cristian.ciocaltea@collabora.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/Kconfig