diff options
author | Keith Packard <keithp@neko.keithp.com> | 2006-11-04 00:52:21 -0800 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2006-11-04 00:52:21 -0800 |
commit | 7fcb555735a58e19ccc10875b211402983170a87 (patch) | |
tree | f1f7531380cf79321c12d90ce613e89467388154 /src/i830_crt.c | |
parent | 3ab7f9693217d8fe993bdc94c376b219b0082961 (diff) |
Rename availablePipes to num_pipes
Diffstat (limited to 'src/i830_crt.c')
-rw-r--r-- | src/i830_crt.c | 4 |
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) { |