summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Garrett <mjg59@srcf.ucam.org>2007-09-15 00:23:37 +0100
committerMatthew Garrett <mjg59@srcf.ucam.org>2007-09-15 00:23:37 +0100
commitb33e7867a320a7781b6b1246859ce885f90f8549 (patch)
treee0b03a67d47502df2f494a72a79d844041839437
parentcf9952033a2cab0fd1d8cb453c4d5fdb6f687810 (diff)
Clarify shift name
-rw-r--r--include/radeon_reg.h2
-rw-r--r--xorg/avivo_output.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/radeon_reg.h b/include/radeon_reg.h
index 7ad466f..4797055 100644
--- a/include/radeon_reg.h
+++ b/include/radeon_reg.h
@@ -3513,7 +3513,7 @@
# define AVIVO_LVTMA_PWRSEQ_STATE_SYNCEN (1 << 2)
# define AVIVO_LVTMA_PWRSEQ_STATE_BLON (1 << 3)
# define AVIVO_LVTMA_PWRSEQ_STATE_DONE (1 << 4)
-# define AVIVO_LVTMA_PWRSEQ_STATE_STATUS (8)
+# define AVIVO_LVTMA_PWRSEQ_STATE_STATUS_SHIFT (8)
#define AVIVO_LVDS_BACKLIGHT_CNTL 0x7af8
# define AVIVO_LVDS_BACKLIGHT_CNTL_EN (1 << 0)
diff --git a/xorg/avivo_output.c b/xorg/avivo_output.c
index d7249f4..bb0fc23 100644
--- a/xorg/avivo_output.c
+++ b/xorg/avivo_output.c
@@ -267,7 +267,7 @@ avivo_output_lvds_dpms(xf86OutputPtr output, int mode)
do {
tmp = INREG(AVIVO_LVTMA_PWRSEQ_STATE);
usleep(100);
- } while (tmp != 0x8 << AVIVO_LVTMA_PWRSEQ_STATE_STATUS);
+ } while (tmp != 0x8 << AVIVO_LVTMA_PWRSEQ_STATE_STATUS_SHIFT);
OUTREG(AVIVO_LVTMA_TRANSMITTER_ENABLE, 0);
OUTREG(AVIVO_LVTMA_CLOCK_ENABLE, 0);
break;