phy/rockchip: Make PHY_ROCKCHIP_INNO_HDMI depend on HAS_IOMEM to fix build error
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 24 Nov 2020 11:11:27 +0000 (19:11 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 2 Dec 2020 07:23:46 +0000 (12:53 +0530)
commitab7dd2008b29e48cff216aa984902d59b583d36d
tree4712486b0f3188e7668f7cf67445710e7c8e7e62
parent3eaf2da98993ecdf6e46a2b27cd31ef84a12e45f
phy/rockchip: Make PHY_ROCKCHIP_INNO_HDMI depend on HAS_IOMEM to fix build error

devm_ioremap_resource() will be not built in lib/devres.c if
CONFIG_HAS_IOMEM is not set, and then there exists a build
error about undefined reference to "devm_ioremap_resource"
in the file phy-rockchip-inno-hdmi.c under COMPILE_TEST and
CONFIG_PHY_ROCKCHIP_INNO_HDMI, make PHY_ROCKCHIP_INNO_HDMI
depend on HAS_IOMEM to fix it.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/1606216287-14648-1-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/Kconfig