diff options
Diffstat (limited to 'drivers/char/drm/drm_lock.c')
-rw-r--r-- | drivers/char/drm/drm_lock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/drm/drm_lock.c b/drivers/char/drm/drm_lock.c index 62f12e745249..c3a998704106 100644 --- a/drivers/char/drm/drm_lock.c +++ b/drivers/char/drm/drm_lock.c | |||
@@ -51,8 +51,8 @@ static int drm_notifier(void *priv); | |||
51 | int drm_lock(struct inode *inode, struct file *filp, | 51 | int drm_lock(struct inode *inode, struct file *filp, |
52 | unsigned int cmd, unsigned long arg) | 52 | unsigned int cmd, unsigned long arg) |
53 | { | 53 | { |
54 | drm_file_t *priv = filp->private_data; | 54 | struct drm_file *priv = filp->private_data; |
55 | drm_device_t *dev = priv->head->dev; | 55 | struct drm_device *dev = priv->head->dev; |
56 | DECLARE_WAITQUEUE(entry, current); | 56 | DECLARE_WAITQUEUE(entry, current); |
57 | struct drm_lock lock; | 57 | struct drm_lock lock; |
58 | int ret = 0; | 58 | int ret = 0; |
@@ -152,8 +152,8 @@ int drm_lock(struct inode *inode, struct file *filp, | |||
152 | int drm_unlock(struct inode *inode, struct file *filp, | 152 | int drm_unlock(struct inode *inode, struct file *filp, |
153 | unsigned int cmd, unsigned long arg) | 153 | unsigned int cmd, unsigned long arg) |
154 | { | 154 | { |
155 | drm_file_t *priv = filp->private_data; | 155 | struct drm_file *priv = filp->private_data; |
156 | drm_device_t *dev = priv->head->dev; | 156 | struct drm_device *dev = priv->head->dev; |
157 | struct drm_lock lock; | 157 | struct drm_lock lock; |
158 | unsigned long irqflags; | 158 | unsigned long irqflags; |
159 | 159 | ||