summaryrefslogtreecommitdiff
path: root/src/i830_crt.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-11-04 00:52:21 -0800
committerKeith Packard <keithp@neko.keithp.com>2006-11-04 00:52:21 -0800
commit7fcb555735a58e19ccc10875b211402983170a87 (patch)
treef1f7531380cf79321c12d90ce613e89467388154 /src/i830_crt.c
parent3ab7f9693217d8fe993bdc94c376b219b0082961 (diff)
Rename availablePipes to num_pipes
Diffstat (limited to 'src/i830_crt.c')
-rw-r--r--src/i830_crt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_crt.c b/src/i830_crt.c
index 4c6c3ca5..adc2d624 100644
--- a/src/i830_crt.c
+++ b/src/i830_crt.c
@@ -174,12 +174,12 @@ i830_crt_detect_load(ScrnInfoPtr pScrn)
int pipeconf_reg, bclrpat_reg, dpll_reg;
int pipe;
- for (pipe = 0; pipe < pI830->availablePipes; pipe++)
+ for (pipe = 0; pipe < pI830->num_pipes; pipe++)
if (!pI830->pipes[pipe].planeEnabled)
break;
/* No available pipes for load detection */
- if (pipe == pI830->availablePipes)
+ if (pipe == pI830->num_pipes)
return FALSE;
if (pipe == 0) {