usb: typec: ucsi: add DRM_BRIDGE dependencies
Subsystems (2)
PATCH 1/1 usb: typec: ucsi: add DRM_BRIDGE dependencies
From: Arnd Bergmann <[email protected]>
Selecting CONFIG_DRM_AUX_HPD_BRIDGE is not allowed when its dependencies are not met:
WARNING: unmet direct dependencies detected for DRM_AUX_HPD_BRIDGE
Depends on [n]: HAS_IOMEM [=y] && DRM [=n] && DRM_BRIDGE [=n] && OF [=n]
Selected by [m]:
- UCSI_HUAWEI_GAOKUN [=m] && USB_SUPPORT [=y] && TYPEC [=y] && TYPEC_UCSI [=m] && EC_HUAWEI_GAOKUN [=m]
ERROR: modpost: "drm_bridge_hpd_notify" [drivers/gpu/drm/bridge/aux-hpd-bridge.ko] undefined!
ERROR: modpost: "devm_drm_bridge_add" [drivers/gpu/drm/bridge/aux-hpd-bridge.ko] undefined!
Add the same dependencies for the new UCSI_HUAWEI_GAOKUN driver to ensure it always builds cleanly.
--- drivers/usb/typec/ucsi/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/usb/typec/ucsi/Kconfig +1 -0
@@ -94,6 +94,7 @@ config UCSI_LENOVO_YOGA_C630 config UCSI_HUAWEI_GAOKUN tristate "UCSI Interface Driver for Huawei Matebook E Go" depends on EC_HUAWEI_GAOKUN + depends on DRM_BRIDGE && OF select DRM_AUX_HPD_BRIDGE help This driver enables UCSI support on the Huawei Matebook E Go tablet,
Signature · 1 line
2.39.5
Greg Kroah-Hartman
maintainerQuoted 16 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
Selecting
CONFIG_DRM_AUX_HPD_BRIDGEis not allowed when its dependencies are not met:WARNING: unmet direct dependencies detected for
DRM_AUX_HPD_BRIDGE
Depends on [n]:HAS_IOMEM[=y] && DRM [=n] &&DRM_BRIDGE[=n] && OF [=n]
Selected by [m]:
-UCSI_HUAWEI_GAOKUN[=m] &&USB_SUPPORT[=y] && TYPEC [=y] &&TYPEC_UCSI[=m] &&EC_HUAWEI_GAOKUN[=m]ERROR: modpost: "
drm_bridge_hpd_notify" [drivers/gpu/drm/bridge/aux-hpd-bridge.ko] undefined!
ERROR: modpost: "devm_drm_bridge_add" [drivers/gpu/drm/bridge/aux-hpd-bridge.ko] undefined!Add the same dependencies for the new
UCSI_HUAWEI_GAOKUNdriver to ensure it always builds cleanly.
Quoted 7 lines
Fixes 00327d7f2c8c ("usb: typec: ucsi: add Huawei Matebook E Go ucsi driver")Reported-by kernel test robot <[email protected]>Signed-off-by Arnd Bergmann <[email protected]>--- drivers/usb/typec/ucsi/Kconfig | 1 + 1 file changed, 1 insertion(+)
I just took this version which was sent before yours, sorry:
https://lore.kernel.org/r/[email protected]