diff options
author | dumbbell <dumbbell@FreeBSD.org> | 2013-08-25 10:13:23 +0000 |
---|---|---|
committer | dumbbell <dumbbell@FreeBSD.org> | 2013-08-25 10:13:23 +0000 |
commit | f064d5675b4f0f65925a85c9c60971f395614874 (patch) | |
tree | b449a38897fd178f30eff24d3bd4c6176ea30355 /sys/dev/drm2/drm_ioctl.c | |
parent | 23e428c8eff23e17200d0691eadb1996eb0374be (diff) | |
download | FreeBSD-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/drm_ioctl.c')
-rw-r--r-- | sys/dev/drm2/drm_ioctl.c | 5 |
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) { |