summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-07-15 16:18:04 +1000
committerDave Airlie <airlied@linux.ie>2008-07-15 16:18:04 +1000
commit76c8e19a29d635d2c62937a381ab33014cfe6cea (patch)
treefcbf7b30455b80befe113cc900eb09c3e92a421b /linux-core
parenteac0933be75b226e0b623d8dcbf343c391eb88a2 (diff)
drm/pcigart: fix warning
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/ati_pcigart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/ati_pcigart.c b/linux-core/ati_pcigart.c
index fb663a0a..40f8f8dd 100644
--- a/linux-core/ati_pcigart.c
+++ b/linux-core/ati_pcigart.c
@@ -126,7 +126,7 @@ 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;
+ u32 *pci_gart;
dma_addr_t bus_address = 0;
int i, j, ret = 0;
int max_pages;