svn commit: r261665 - stable/9/sys/dev/drm2

Jean-Sebastien Pedron dumbbell at FreeBSD.org
Sun Feb 9 16:01:19 UTC 2014


Author: dumbbell
Date: Sun Feb  9 16:01:18 2014
New Revision: 261665
URL: http://svnweb.freebsd.org/changeset/base/261665

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

Modified:
  stable/9/sys/dev/drm2/drm_ioctl.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/drm2/drm_ioctl.c
==============================================================================
--- stable/9/sys/dev/drm2/drm_ioctl.c	Sun Feb  9 15:56:15 2014	(r261664)
+++ stable/9/sys/dev/drm2/drm_ioctl.c	Sun Feb  9 16:01:18 2014	(r261665)
@@ -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-stable-9 mailing list