From 459a30ba511fe2fa8051380a9741fcfd9bb401ef Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 19 Nov 2007 13:44:38 +1000 Subject: fix type for r520 agp code --- src/radeon_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/radeon_driver.c b/src/radeon_driver.c index de75ee3b..69f8c768 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -4136,7 +4136,7 @@ static void RADEONAdjustMemMapRegisters(ScrnInfoPtr pScrn, RADEONSavePtr save) agp = INMC(pScrn, RV515_MC_AGP_LOCATION); } else { fb = INMC(pScrn, R520_MC_FB_LOCATION); - agp = INMC(pScrn, RV515_MC_AGP_LOCATION); + agp = INMC(pScrn, R520_MC_AGP_LOCATION); } fb_loc_changed = (fb != info->mc_fb_location); -- cgit v1.2.3