summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/drm/drmP.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index ff20b888d52..2c322564ca7 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1008,9 +1008,12 @@ struct drm_driver {
struct list_head legacy_dev_list;
};
-#define DRM_MINOR_LEGACY 1
-#define DRM_MINOR_CONTROL 2
-#define DRM_MINOR_RENDER 3
+enum drm_minor_type {
+ DRM_MINOR_LEGACY,
+ DRM_MINOR_CONTROL,
+ DRM_MINOR_RENDER,
+ DRM_MINOR_CNT,
+};
/**
* Info file list entry. This structure represents a debugfs or proc file to