Commit a2e80aca authored by Leandro Ribeiro's avatar Leandro Ribeiro

backend-drm: remove unnecessary ifdefs

Remove unnecessary ifdefs for DRM_MODE_CONNECTOR_DSI, DRM_MODE_CONNECTOR_DPI.
They are both provided by libdrm and were introduced long before 2.4.83 (the
lowest version we currently support).
Signed-off-by: Leandro Ribeiro's avatarLeandro Ribeiro <leandrohr@riseup.net>
parent 6196b201
......@@ -1136,13 +1136,9 @@ static const char * const connector_type_names[] = {
[DRM_MODE_CONNECTOR_HDMIB] = "HDMI-B",
[DRM_MODE_CONNECTOR_TV] = "TV",
[DRM_MODE_CONNECTOR_eDP] = "eDP",
#ifdef DRM_MODE_CONNECTOR_DSI
[DRM_MODE_CONNECTOR_VIRTUAL] = "Virtual",
[DRM_MODE_CONNECTOR_DSI] = "DSI",
#endif
#ifdef DRM_MODE_CONNECTOR_DPI
[DRM_MODE_CONNECTOR_DPI] = "DPI",
#endif
};
/** Create a name given a DRM connector
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment