drm/file: use explicit values for enum drm_minor_type
authorSimon Ser <contact@emersion.fr>
Fri, 14 Jul 2023 10:46:04 +0000 (10:46 +0000)
committerSimon Ser <contact@emersion.fr>
Mon, 17 Jul 2023 08:40:41 +0000 (10:40 +0200)
commit03fad56ab746c23c9bf93bbfe3b0941dd298180e
treec79c7d5fbde5a2544287352c5e168adbb738d15c
parente48aedf7d5f1e00fc7ed3d5a37543228b7173228
drm/file: use explicit values for enum drm_minor_type

This makes it clearer that the values cannot be changed because
they are ABI.

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by:James Zhu <James.Zhu@amd.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Christian König <christian.koenig@amd.com>
Cc: Marek Olšák <marek.olsak@amd.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20230714104557.518457-2-contact@emersion.fr
include/drm/drm_file.h