summaryrefslogtreecommitdiff
path: root/src/g80_dac.c
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2007-03-27 13:33:11 -0700
committerAaron Plattner <aplattner@nvidia.com>2007-03-27 14:49:55 -0700
commit4b8ed8497a9ab6ef1316bfcce9f31d96dd4b3540 (patch)
tree21ed86efe443622852e48d50bd03aebb32e96548 /src/g80_dac.c
parentad4abba20b8a6db7b52898bc7159809539cbed43 (diff)
G80: Create output partners.
Each pair of outputs shares an I2C rec. This will be used in a future change for the detect and get_modes routines.
Diffstat (limited to 'src/g80_dac.c')
-rw-r--r--src/g80_dac.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/g80_dac.c b/src/g80_dac.c
index 991e3be..bb86748 100644
--- a/src/g80_dac.c
+++ b/src/g80_dac.c
@@ -130,7 +130,7 @@ static const xf86OutputFuncsRec G80DacOutputFuncs = {
};
xf86OutputPtr
-G80CreateDac(ScrnInfoPtr pScrn, ORNum or, int i2cPort)
+G80CreateDac(ScrnInfoPtr pScrn, ORNum or)
{
G80OutputPrivPtr pPriv = xnfcalloc(sizeof(*pPriv), 1);
xf86OutputPtr output;
@@ -149,8 +149,5 @@ G80CreateDac(ScrnInfoPtr pScrn, ORNum or, int i2cPort)
output->interlaceAllowed = TRUE;
output->doubleScanAllowed = TRUE;
- /* Create an I2C object */
- G80I2CInit(output, i2cPort);
-
return output;
}