From owner-svn-src-head@FreeBSD.ORG Sun Aug 25 10:13:23 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B308F7BA; Sun, 25 Aug 2013 10:13:23 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A0AD4255E; Sun, 25 Aug 2013 10:13:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7PADNDH096667; Sun, 25 Aug 2013 10:13:23 GMT (envelope-from dumbbell@svn.freebsd.org) Received: (from dumbbell@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7PADNtk096666; Sun, 25 Aug 2013 10:13:23 GMT (envelope-from dumbbell@svn.freebsd.org) Message-Id: <201308251013.r7PADNtk096666@svn.freebsd.org> From: Jean-Sebastien Pedron Date: Sun, 25 Aug 2013 10:13:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r254840 - head/sys/dev/drm2 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Aug 2013 10:13:23 -0000 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 +#include /* * 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) {