summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-10-20 04:41:38 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-10-20 04:41:38 +0000
commit5ae6c5af751780fbf424b848aa2355bc303a5b73 (patch)
tree0fa7958df98c8e9bc2d47a390ebc64034104567b
parent157a814be6f3065a2463141f1592fa8948765334 (diff)
Fix dd vs di version typo in drm_setversion
-rw-r--r--linux-core/drm_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_ioctl.c b/linux-core/drm_ioctl.c
index b7b97539..c6d3db67 100644
--- a/linux-core/drm_ioctl.c
+++ b/linux-core/drm_ioctl.c
@@ -338,7 +338,7 @@ int drm_setversion(DRM_IOCTL_ARGS)
if (sv.drm_di_major != DRM_IF_MAJOR ||
sv.drm_di_minor < 0 || sv.drm_di_minor > DRM_IF_MINOR)
return EINVAL;
- if_version = DRM_IF_VERSION(sv.drm_di_major, sv.drm_dd_minor);
+ if_version = DRM_IF_VERSION(sv.drm_di_major, sv.drm_di_minor);
dev->if_version = DRM_MAX(if_version, dev->if_version);
if (sv.drm_di_minor >= 1) {
/*