diff options
author | Dave Airlie <airlied@linux.ie> | 2007-07-11 01:53:27 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-11 01:53:27 -0400 |
commit | 84b1fd103dbbe01b5905db1444d3fc8afa9a7207 (patch) | |
tree | 2088f4c8e68553e2d4f5d55fa7a714eb3fa09f9e /drivers/char/drm/drm_lock.c | |
parent | c60ce623bd16137627009d05e311d877729f2ad6 (diff) |
drm: remove drm_file_t, drm_device_t and drm_head_t typedefs
some drivers still todo.
Signed-off-by: Dave Airlie <airlied@linux.ie>
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 | ||