diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-12-13 09:30:51 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-12-24 20:38:53 +0530 |
commit | 17194c2998d39ab366a2ecbc4d1f3281e00d6a05 (patch) | |
tree | 64761d39f7c5c4cfcada5ed6d69c1ba36c49a64e /drivers/phy/phy-core.c | |
parent | 739214dd1c209e34323814fb815fb17cccb9f95b (diff) | |
download | linux-17194c2998d39ab366a2ecbc4d1f3281e00d6a05.tar.gz linux-17194c2998d39ab366a2ecbc4d1f3281e00d6a05.tar.bz2 linux-17194c2998d39ab366a2ecbc4d1f3281e00d6a05.zip |
phy: mediatek: phy-mtk-hdmi: add regulator dependency
The driver no longer builds when regulator support is unavailable:
arm-linux-gnueabi-ld: drivers/phy/mediatek/phy-mtk-hdmi.o: in function `mtk_hdmi_phy_register_regulators':
phy-mtk-hdmi.c:(.text.unlikely+0x3e): undefined reference to `devm_regulator_register'
arm-linux-gnueabi-ld: drivers/phy/mediatek/phy-mtk-hdmi-mt8195.o: in function `mtk_hdmi_phy_pwr5v_is_enabled':
phy-mtk-hdmi-mt8195.c:(.text+0x326): undefined reference to `rdev_get_drvdata'
arm-linux-gnueabi-ld: drivers/phy/mediatek/phy-mtk-hdmi-mt8195.o: in function `mtk_hdmi_phy_pwr5v_disable':
phy-mtk-hdmi-mt8195.c:(.text+0x346): undefined reference to `rdev_get_drvdata'
arm-linux-gnueabi-ld: drivers/phy/mediatek/phy-mtk-hdmi-mt8195.o: in function `mtk_hdmi_phy_pwr5v_enable':
Fixes: 49393b2da1cd ("phy: mediatek: phy-mtk-hdmi: Register PHY provided regulator")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241213083056.2596499-1-arnd@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/phy-core.c')
0 files changed, 0 insertions, 0 deletions