diff options
Diffstat (limited to 'drivers/char/drm/ati_pcigart.c')
-rw-r--r-- | drivers/char/drm/ati_pcigart.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/drm/ati_pcigart.c b/drivers/char/drm/ati_pcigart.c index f80ca01b2cfa..3345641ff904 100644 --- a/drivers/char/drm/ati_pcigart.c +++ b/drivers/char/drm/ati_pcigart.c | |||
@@ -73,9 +73,9 @@ static void drm_ati_free_pcigart_table(void *address, int order) | |||
73 | free_pages((unsigned long)address, order); | 73 | free_pages((unsigned long)address, order); |
74 | } | 74 | } |
75 | 75 | ||
76 | int drm_ati_pcigart_cleanup(struct drm_device *dev, drm_ati_pcigart_info *gart_info) | 76 | int drm_ati_pcigart_cleanup(struct drm_device *dev, struct drm_ati_pcigart_info *gart_info) |
77 | { | 77 | { |
78 | drm_sg_mem_t *entry = dev->sg; | 78 | struct drm_sg_mem *entry = dev->sg; |
79 | unsigned long pages; | 79 | unsigned long pages; |
80 | int i; | 80 | int i; |
81 | int order; | 81 | int order; |
@@ -122,9 +122,9 @@ int drm_ati_pcigart_cleanup(struct drm_device *dev, drm_ati_pcigart_info *gart_i | |||
122 | } | 122 | } |
123 | EXPORT_SYMBOL(drm_ati_pcigart_cleanup); | 123 | EXPORT_SYMBOL(drm_ati_pcigart_cleanup); |
124 | 124 | ||
125 | int drm_ati_pcigart_init(struct drm_device *dev, drm_ati_pcigart_info *gart_info) | 125 | int drm_ati_pcigart_init(struct drm_device *dev, struct drm_ati_pcigart_info *gart_info) |
126 | { | 126 | { |
127 | drm_sg_mem_t *entry = dev->sg; | 127 | struct drm_sg_mem *entry = dev->sg; |
128 | void *address = NULL; | 128 | void *address = NULL; |
129 | unsigned long pages; | 129 | unsigned long pages; |
130 | u32 *pci_gart, page_base, bus_address = 0; | 130 | u32 *pci_gart, page_base, bus_address = 0; |