summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/drm_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/drm_lock.c')
-rw-r--r--sys/dev/pci/drm/drm_lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/drm_lock.c b/sys/dev/pci/drm/drm_lock.c
index 3a554b658e0..6b130fdd77e 100644
--- a/sys/dev/pci/drm/drm_lock.c
+++ b/sys/dev/pci/drm/drm_lock.c
@@ -120,7 +120,7 @@ drm_lock_free(struct drm_lock_data *lock_data, unsigned int context)
int
drm_lock(struct drm_device *dev, void *data, struct drm_file *file_priv)
{
- drm_lock_t *lock = data;
+ struct drm_lock *lock = data;
int ret = 0;
if (lock->context == DRM_KERNEL_CONTEXT) {
@@ -169,7 +169,7 @@ drm_lock(struct drm_device *dev, void *data, struct drm_file *file_priv)
int
drm_unlock(struct drm_device *dev, void *data, struct drm_file *file_priv)
{
- drm_lock_t *lock = data;
+ struct drm_lock *lock = data;
if (lock->context == DRM_KERNEL_CONTEXT) {
DRM_ERROR("Process %d using kernel context %d\n",