From 76946ed83df2e39e3867538e54dc743fecb4f8e8 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 16 Mar 2008 12:56:11 +1000 Subject: drm: this u32 should be a dma_addr_t doesn't fix anything but just making it consistent --- linux-core/ati_pcigart.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux-core') 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; -- cgit v1.2.3