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_pci.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_pci.c')
-rw-r--r-- | drivers/char/drm/drm_pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/drm/drm_pci.c b/drivers/char/drm/drm_pci.c index 86a0f1c22091..e292bb0eaca2 100644 --- a/drivers/char/drm/drm_pci.c +++ b/drivers/char/drm/drm_pci.c | |||
@@ -47,7 +47,7 @@ | |||
47 | /** | 47 | /** |
48 | * \brief Allocate a PCI consistent memory block, for DMA. | 48 | * \brief Allocate a PCI consistent memory block, for DMA. |
49 | */ | 49 | */ |
50 | drm_dma_handle_t *drm_pci_alloc(drm_device_t * dev, size_t size, size_t align, | 50 | drm_dma_handle_t *drm_pci_alloc(struct drm_device * dev, size_t size, size_t align, |
51 | dma_addr_t maxaddr) | 51 | dma_addr_t maxaddr) |
52 | { | 52 | { |
53 | drm_dma_handle_t *dmah; | 53 | drm_dma_handle_t *dmah; |
@@ -126,7 +126,7 @@ EXPORT_SYMBOL(drm_pci_alloc); | |||
126 | * | 126 | * |
127 | * This function is for internal use in the Linux-specific DRM core code. | 127 | * This function is for internal use in the Linux-specific DRM core code. |
128 | */ | 128 | */ |
129 | void __drm_pci_free(drm_device_t * dev, drm_dma_handle_t * dmah) | 129 | void __drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) |
130 | { | 130 | { |
131 | #if 1 | 131 | #if 1 |
132 | unsigned long addr; | 132 | unsigned long addr; |
@@ -172,7 +172,7 @@ void __drm_pci_free(drm_device_t * dev, drm_dma_handle_t * dmah) | |||
172 | /** | 172 | /** |
173 | * \brief Free a PCI consistent memory block | 173 | * \brief Free a PCI consistent memory block |
174 | */ | 174 | */ |
175 | void drm_pci_free(drm_device_t * dev, drm_dma_handle_t * dmah) | 175 | void drm_pci_free(struct drm_device * dev, drm_dma_handle_t * dmah) |
176 | { | 176 | { |
177 | __drm_pci_free(dev, dmah); | 177 | __drm_pci_free(dev, dmah); |
178 | kfree(dmah); | 178 | kfree(dmah); |