mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
usb: typec: displayport: depends on DRM_ROCKCHIP
To avoid the conflict of GKI, the drm_connector_oob_hotplug_event() is be
completed in rockchip drm driver, not the drm framework.
So add depends on DRM_ROCKCHIP, otherwise get following warning:
aarch64-none-linux-gnu-ld: drivers/usb/typec/altmodes/displayport.o: in function `dp_altmode_status_update':
drivers/usb/typec/altmodes/displayport.c:156: undefined reference to `drm_connector_oob_hotplug_event'
Fixes: 594af86e81 ("FORMLIST: usb: typec: altmodes/displayport: Notify drm subsys of hotplug events")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Id31efd89e5af47811138890ce9fbcb79da187b91
This commit is contained in:
@@ -5,6 +5,7 @@ menu "USB Type-C Alternate Mode drivers"
|
||||
config TYPEC_DP_ALTMODE
|
||||
tristate "DisplayPort Alternate Mode driver"
|
||||
depends on DRM
|
||||
depends on DRM_ROCKCHIP
|
||||
help
|
||||
DisplayPort USB Type-C Alternate Mode allows DisplayPort
|
||||
displays and adapters to be attached to the USB Type-C
|
||||
|
||||
Reference in New Issue
Block a user