summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/radeon_driver.c2
-rw-r--r--src/radeon_probe.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index e9c24af7..10b0b8c5 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -4354,7 +4354,7 @@ avivo_restore(ScrnInfoPtr pScrn, RADEONSavePtr restore)
if (info->IsIGP) {
int i, j = 0;
- for (i = 0x7200; i <= 0x7290; i =+ 4) {
+ for (i = 0x7200; i <= 0x7290; i += 4) {
OUTREG(i, state->ddia[j]);
j++;
}
diff --git a/src/radeon_probe.h b/src/radeon_probe.h
index d11f3d9e..82bb1531 100644
--- a/src/radeon_probe.h
+++ b/src/radeon_probe.h
@@ -362,7 +362,7 @@ struct avivo_state
struct avivo_dig_state tmds2;
/* DDIA block on RS6xx chips */
- CARD32 ddia[36];
+ CARD32 ddia[37];
};
/*