summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm2
diff options
context:
space:
mode:
authordumbbell <dumbbell@FreeBSD.org>2013-08-25 10:13:23 +0000
committerdumbbell <dumbbell@FreeBSD.org>2013-08-25 10:13:23 +0000
commitf064d5675b4f0f65925a85c9c60971f395614874 (patch)
treeb449a38897fd178f30eff24d3bd4c6176ea30355 /sys/dev/drm2
parent23e428c8eff23e17200d0691eadb1996eb0374be (diff)
downloadFreeBSD-src-f064d5675b4f0f65925a85c9c60971f395614874.zip
FreeBSD-src-f064d5675b4f0f65925a85c9c60971f395614874.tar.gz
drm: Use DRM_IF_MAJOR & DRM_IF_MINOR from drm_core.h
Diffstat (limited to 'sys/dev/drm2')
-rw-r--r--sys/dev/drm2/drm_ioctl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/drm2/drm_ioctl.c b/sys/dev/drm2/drm_ioctl.c
index b2c7aff..96dcac2 100644
--- a/sys/dev/drm2/drm_ioctl.c
+++ b/sys/dev/drm2/drm_ioctl.c
@@ -37,6 +37,7 @@ __FBSDID("$FreeBSD$");
*/
#include <dev/drm2/drmP.h>
+#include <dev/drm2/drm_core.h>
/*
* Beginning in revision 1.1 of the DRM interface, getunique will return
@@ -255,10 +256,6 @@ int drm_getcap(struct drm_device *dev, void *data, struct drm_file *file_priv)
return 0;
}
-
-#define DRM_IF_MAJOR 1
-#define DRM_IF_MINOR 2
-
int drm_setversion(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{
OpenPOWER on IntegriCloud