diff --git a/libweston/backend-drm/drm.c b/libweston/backend-drm/drm.c index 89508a8d..a41cf968 100644 --- a/libweston/backend-drm/drm.c +++ b/libweston/backend-drm/drm.c @@ -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