xf86drm: Remove ifdef for FreeBSD and DRM_MAJOR

FreeBSD devfs only provides on the fly generated major/minor.
The major number is irrelevant for FreeBSD so remove the special case.

Signed-off-by: Emmanuel Vadot <manu@FreeBSD.org>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
main
Emmanuel Vadot 2020-01-21 17:39:10 +01:00 committed by Emmanuel Vadot
parent 1c8d2b73a6
commit 4fbcc9a6a7
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@
#include "util_math.h" #include "util_math.h"
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) #ifdef __DragonFly__
#define DRM_MAJOR 145 #define DRM_MAJOR 145
#endif #endif