summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-03-16 12:56:11 +1000
committerDave Airlie <airlied@linux.ie>2008-03-16 12:56:11 +1000
commit76946ed83df2e39e3867538e54dc743fecb4f8e8 (patch)
treebfe00234a1a64ffaf762da1e12e30f5ab765b5f0
parent1ea8a470fe9103036817ae3a960522c37901bddc (diff)
drm: this u32 should be a dma_addr_t
doesn't fix anything but just making it consistent
-rw-r--r--linux-core/ati_pcigart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/ati_pcigart.c b/linux-core/ati_pcigart.c
index 93519e5f..5a424200 100644
--- a/linux-core/ati_pcigart.c
+++ b/linux-core/ati_pcigart.c
@@ -137,7 +137,8 @@ int drm_ati_pcigart_init(struct drm_device *dev, struct drm_ati_pcigart_info *ga
struct drm_sg_mem *entry = dev->sg;
void *address = NULL;
unsigned long pages;
- u32 *pci_gart, page_base, bus_address = 0;
+ u32 *pci_gart, page_base;
+ dma_addr_t bus_address = 0;
int i, j, ret = 0;
int order;
int max_pages;