backend/drm: add DRM_MODE_CONNECTOR_USB to conn_get_name
See 757e26712337 ("drm/uapi: Add USB connector type") in the kernel tree.
This commit is contained in:
parent
cc8bc0db20
commit
66c42f4fcb
|
@ -167,6 +167,9 @@ const char *conn_get_name(uint32_t type_id) {
|
||||||
case DRM_MODE_CONNECTOR_WRITEBACK: return "Writeback";
|
case DRM_MODE_CONNECTOR_WRITEBACK: return "Writeback";
|
||||||
#ifdef DRM_MODE_CONNECTOR_SPI
|
#ifdef DRM_MODE_CONNECTOR_SPI
|
||||||
case DRM_MODE_CONNECTOR_SPI: return "SPI";
|
case DRM_MODE_CONNECTOR_SPI: return "SPI";
|
||||||
|
#endif
|
||||||
|
#ifdef DRM_MODE_CONNECTOR_USB
|
||||||
|
case DRM_MODE_CONNECTOR_USB: return "USB";
|
||||||
#endif
|
#endif
|
||||||
default: return "Unknown";
|
default: return "Unknown";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue