drm: Turn DRM_MODE_SUBCONNECTOR_xx definitions into an enum
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 2 Dec 2016 13:48:08 +0000 (14:48 +0100)
committerEric Anholt <eric@anholt.net>
Fri, 9 Dec 2016 23:26:30 +0000 (15:26 -0800)
commitdee7a4fee730ca8908f335b6b66174cba4598ecd
treee552b5f0c78fd171a4e333b8d755dde92dfb8c7d
parentab8df60e3a3b68420d0d4477c5f07c00fbfb078b
drm: Turn DRM_MODE_SUBCONNECTOR_xx definitions into an enum

List of values like the DRM_MODE_SUBCONNECTOR_xx ones are better
represented with enums.

Turn the DRM_MODE_SUBCONNECTOR_xx macros into an enum.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Eric Anholt <eric@anholt.net>
include/uapi/drm/drm_mode.h