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 <leandrohr@riseup.net>
This commit is contained in:
parent
6196b201be
commit
a2e80aca68
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user