diff options
-rw-r--r-- | drivers/char/drm/ati_pcigart.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/drm/ati_pcigart.c b/drivers/char/drm/ati_pcigart.c index d07ce96e9f4..6d3fec160bf 100644 --- a/drivers/char/drm/ati_pcigart.c +++ b/drivers/char/drm/ati_pcigart.c | |||
@@ -205,7 +205,8 @@ int drm_ati_pcigart_init(drm_device_t * dev, drm_ati_pcigart_info * gart_info) | |||
205 | if (gart_info->is_pcie) | 205 | if (gart_info->is_pcie) |
206 | *pci_gart = (cpu_to_le32(page_base) >> 8) | 0xc; | 206 | *pci_gart = (cpu_to_le32(page_base) >> 8) | 0xc; |
207 | else | 207 | else |
208 | *pci_gart++ = cpu_to_le32(page_base); | 208 | *pci_gart = cpu_to_le32(page_base); |
209 | *pci_gart++; | ||
209 | page_base += ATI_PCIGART_PAGE_SIZE; | 210 | page_base += ATI_PCIGART_PAGE_SIZE; |
210 | } | 211 | } |
211 | } | 212 | } |