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_dma.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_dma.c')
-rw-r--r-- | drivers/char/drm/drm_dma.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/drm/drm_dma.c b/drivers/char/drm/drm_dma.c index 32ed19c9ec1c..2cffb7b597fd 100644 --- a/drivers/char/drm/drm_dma.c +++ b/drivers/char/drm/drm_dma.c | |||
@@ -43,7 +43,7 @@ | |||
43 | * | 43 | * |
44 | * Allocate and initialize a drm_device_dma structure. | 44 | * Allocate and initialize a drm_device_dma structure. |
45 | */ | 45 | */ |
46 | int drm_dma_setup(drm_device_t * dev) | 46 | int drm_dma_setup(struct drm_device *dev) |
47 | { | 47 | { |
48 | int i; | 48 | int i; |
49 | 49 | ||
@@ -67,7 +67,7 @@ int drm_dma_setup(drm_device_t * dev) | |||
67 | * Free all pages associated with DMA buffers, the buffers and pages lists, and | 67 | * Free all pages associated with DMA buffers, the buffers and pages lists, and |
68 | * finally the drm_device::dma structure itself. | 68 | * finally the drm_device::dma structure itself. |
69 | */ | 69 | */ |
70 | void drm_dma_takedown(drm_device_t * dev) | 70 | void drm_dma_takedown(struct drm_device *dev) |
71 | { | 71 | { |
72 | drm_device_dma_t *dma = dev->dma; | 72 | drm_device_dma_t *dma = dev->dma; |
73 | int i, j; | 73 | int i, j; |
@@ -129,7 +129,7 @@ void drm_dma_takedown(drm_device_t * dev) | |||
129 | * | 129 | * |
130 | * Resets the fields of \p buf. | 130 | * Resets the fields of \p buf. |
131 | */ | 131 | */ |
132 | void drm_free_buffer(drm_device_t * dev, drm_buf_t * buf) | 132 | void drm_free_buffer(struct drm_device *dev, drm_buf_t * buf) |
133 | { | 133 | { |
134 | if (!buf) | 134 | if (!buf) |
135 | return; | 135 | return; |
@@ -152,7 +152,7 @@ void drm_free_buffer(drm_device_t * dev, drm_buf_t * buf) | |||
152 | * | 152 | * |
153 | * Frees each buffer associated with \p filp not already on the hardware. | 153 | * Frees each buffer associated with \p filp not already on the hardware. |
154 | */ | 154 | */ |
155 | void drm_core_reclaim_buffers(drm_device_t * dev, struct file *filp) | 155 | void drm_core_reclaim_buffers(struct drm_device *dev, struct file *filp) |
156 | { | 156 | { |
157 | drm_device_dma_t *dma = dev->dma; | 157 | drm_device_dma_t *dma = dev->dma; |
158 | int i; | 158 | int i; |