aboutsummaryrefslogtreecommitdiff
path: root/xf86drm.c
diff options
context:
space:
mode:
authorRobert Noland <rnoland@2hip.net>2009-11-25 15:09:24 -0600
committerRobert Noland <rnoland@2hip.net>2009-11-25 15:09:24 -0600
commit6f66de982ad6ee6967ec61a7399e600bdd9e5887 (patch)
tree1290fde13cf642b2d988c513cb8f3d15f395f72a /xf86drm.c
parent9558f6377ffee680d6bec0808bc113b3139b0d5f (diff)
Correctly set DRM_MAX_MINOR for all platforms.
DRM_MAJOR is platform specific, but not used outside of xf86drm.c that I can find.
Diffstat (limited to 'xf86drm.c')
-rw-r--r--xf86drm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xf86drm.c b/xf86drm.c
index 364fe17d..06d645dd 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -75,10 +75,6 @@
#define DRM_MAJOR 226 /* Linux */
#endif
-#ifndef DRM_MAX_MINOR
-#define DRM_MAX_MINOR 16
-#endif
-
/*
* This definition needs to be changed on some systems if dev_t is a structure.
* If there is a header file we can get it from, there would be best.