summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-10-24 18:43:55 +0200
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-10-24 18:46:47 +0200
commit34a3ebffc369575412a4ff2c05c50264e83c6d3e (patch)
tree7003ae94a85929c9c89bdb794b45b7c17807e561 /linux-core
parent0796bf8c6b983de7fbb188bd5d84d4ea54f81525 (diff)
mode: Try to settle on a standard for struct fields
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_crtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_crtc.c b/linux-core/drm_crtc.c
index 2fefd1d2..2f80ec07 100644
--- a/linux-core/drm_crtc.c
+++ b/linux-core/drm_crtc.c
@@ -1448,9 +1448,9 @@ int drm_mode_cursor_ioctl(struct drm_device *dev,
}
mutex_lock(&dev->mode_config.mutex);
- obj = drm_mode_object_find(dev, req->crtc, DRM_MODE_OBJECT_CRTC);
+ obj = drm_mode_object_find(dev, req->crtc_id, DRM_MODE_OBJECT_CRTC);
if (!obj) {
- DRM_DEBUG("Unknown CRTC ID %d\n", req->crtc);
+ DRM_DEBUG("Unknown CRTC ID %d\n", req->crtc_id);
ret = -EINVAL;
goto out;
}