OSDN Git Service

drm: this u32 should be a dma_addr_t
authorDave Airlie <airlied@linux.ie>
Sun, 16 Mar 2008 02:56:11 +0000 (12:56 +1000)
committerDave Airlie <airlied@linux.ie>
Sun, 16 Mar 2008 02:56:11 +0000 (12:56 +1000)
doesn't fix anything but just making it consistent

linux-core/ati_pcigart.c

index 93519e5..5a42420 100644 (file)
@@ -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;