summaryrefslogtreecommitdiff
path: root/drivers/hwmon/da9052-hwmon.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-04-15 19:42:25 +0200
committerVinod Koul <vkoul@kernel.org>2024-04-17 20:03:01 +0530
commit9c79b779643e56d4253bd3ba6998c58c819943af (patch)
tree645a278028bd17febd368c551a16ec34834fabaf /drivers/hwmon/da9052-hwmon.c
parentc9342d1a351ee1249fa98d936f756299a83d5684 (diff)
phy: rockchip: fix CONFIG_TYPEC dependency
The newly added driver causes a warning about missing dependencies by selecting CONFIG_TYPEC unconditionally: WARNING: unmet direct dependencies detected for TYPEC Depends on [n]: USB_SUPPORT [=n] Selected by [y]: - PHY_ROCKCHIP_USBDP [=y] && ARCH_ROCKCHIP [=y] && OF [=y] WARNING: unmet direct dependencies detected for USB_COMMON Depends on [n]: USB_SUPPORT [=n] Selected by [y]: - EXTCON_RTK_TYPE_C [=y] && EXTCON [=y] && (ARCH_REALTEK [=y] || COMPILE_TEST [=y]) && TYPEC [=y] Since that is a user-visible option, it should not really be selected in the first place. Replace the 'select' with a 'depends on' as we have for similar drivers. Fixes: 2f70bbddeb45 ("phy: rockchip: add usbdp combo phy driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Link: https://lore.kernel.org/r/20240415174241.77982-1-arnd@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/hwmon/da9052-hwmon.c')
0 files changed, 0 insertions, 0 deletions