Date: Sun, 25 Aug 2013 10:13:23 +0000 (UTC) From: Jean-Sebastien Pedron <dumbbell@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r254840 - head/sys/dev/drm2 Message-ID: <201308251013.r7PADNtk096666@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308251013.r7PADNtk096666>