]> git.ipfire.org Git - thirdparty/linux.git/commit
phy: GOOGLE_USB: add TYPEC dependency
authorArnd Bergmann <arnd@arndb.de>
Mon, 2 Feb 2026 09:56:52 +0000 (10:56 +0100)
committerVinod Koul <vkoul@kernel.org>
Wed, 4 Feb 2026 15:17:17 +0000 (20:47 +0530)
commit8a13968460004d21dd0ca457b06fccfdfdfafd6c
treef1c1b9cd5fef83e16d0f284e278c4ab619058942
parent3ddcd24b4d8454b2b9b2d013a0d61986ae8bbbe7
phy: GOOGLE_USB: add TYPEC dependency

With CONFIG_TYPEC=m, this driver cannot be built-in:

arm-linux-gnueabi/bin/arm-linux-gnueabi-ld: drivers/phy/phy-google-usb.o: in function `google_usb_phy_remove':
phy-google-usb.c:(.text+0x24): undefined reference to `typec_switch_unregister'

Add CONFIG_TYPEC as a hard dependency here to force a clean build.
In theory, compile-testing with CONFIG_TYPEC=n would also work, but
that seems pointless.

Fixes: cbce66669c82 ("phy: Add Google Tensor SoC USB PHY driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260202095655.1289973-1-arnd@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/Kconfig