svn commit: r254840 - head/sys/dev/drm2

Jean-Sebastien Pedron dumbbell at FreeBSD.org
Sun Aug 25 10:13:23 UTC 2013


Author: dumbbell
Date: Sun Aug 25 10:13:23 2013
New Revision: 254840
URL: http://svnweb.freebsd.org/changeset/base/254840

Log:
  drm: Use DRM_IF_MAJOR & DRM_IF_MINOR from drm_core.h

Modified:
  head/sys/dev/drm2/drm_ioctl.c

Modified: head/sys/dev/drm2/drm_ioctl.c
==============================================================================
--- head/sys/dev/drm2/drm_ioctl.c	Sun Aug 25 10:08:58 2013	(r254839)
+++ head/sys/dev/drm2/drm_ioctl.c	Sun Aug 25 10:13:23 2013	(r254840)
@@ -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, v
 	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)
 {


More information about the svn-src-head mailing list