summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-01-02 19:25:08 -0800
committerKeith Packard <keithp@neko.keithp.com>2007-01-02 19:25:08 -0800
commit5057769d3a7c1b3a94f49bbff47b9697f368d975 (patch)
tree101560ddfe812fe72b50b114c8ed918cc14d963b
parent2bb9bb951e664d704bdf7a808edbe8b2f50c4366 (diff)
Use correct variable to initialize DVO I2C bus.
intel_output->pI2CBus isn't initialized until the output is all happy and running, so using it before that is rather unlikely to do much good.
-rw-r--r--src/i830_dvo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_dvo.c b/src/i830_dvo.c
index 37caf000..d938f466 100644
--- a/src/i830_dvo.c
+++ b/src/i830_dvo.c
@@ -294,7 +294,7 @@ i830_dvo_init(ScrnInfoPtr pScrn)
if (gpio_inited != gpio) {
if (pI2CBus != NULL)
xf86DestroyI2CBusRec(pI2CBus, TRUE, TRUE);
- if (!I830I2CInit(pScrn, &intel_output->pI2CBus, gpio,
+ if (!I830I2CInit(pScrn, &pI2CBus, gpio,
gpio == GPIOB ? "DVOI2C_B" : "DVOI2C_E")) {
continue;
}