From 66c42f4fcb77724d9b19829eeb0c66fe4771f2db Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 21 Jul 2021 08:47:35 +0200 Subject: backend/drm: add DRM_MODE_CONNECTOR_USB to conn_get_name See 757e26712337 ("drm/uapi: Add USB connector type") in the kernel tree. --- backend/drm/util.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backend/drm') diff --git a/backend/drm/util.c b/backend/drm/util.c index 86dc1517..69748fcf 100644 --- a/backend/drm/util.c +++ b/backend/drm/util.c @@ -167,6 +167,9 @@ const char *conn_get_name(uint32_t type_id) { case DRM_MODE_CONNECTOR_WRITEBACK: return "Writeback"; #ifdef DRM_MODE_CONNECTOR_SPI case DRM_MODE_CONNECTOR_SPI: return "SPI"; +#endif +#ifdef DRM_MODE_CONNECTOR_USB + case DRM_MODE_CONNECTOR_USB: return "USB"; #endif default: return "Unknown"; } -- cgit v1.2.3