diff options
author | Dave Airlie <airlied@linux.ie> | 2006-05-18 16:58:22 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-05-18 16:58:22 +1000 |
commit | 1bc2a8f7a20b2ea9251e93157c0f2342fdbb951c (patch) | |
tree | 16bed5a88cae007523d3d28fa7a3ae64a74ec23b /src/i830_sdvo.c | |
parent | fbba4312e7cb326fdcf6a71194c4fc4a7a9b5488 (diff) |
fixup I830SDVOGetActiveInputs to use return values not args
Diffstat (limited to 'src/i830_sdvo.c')
-rw-r--r-- | src/i830_sdvo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c index fe37d21a..579f77ab 100644 --- a/src/i830_sdvo.c +++ b/src/i830_sdvo.c @@ -169,8 +169,8 @@ I830SDVOGetActiveOutputs(I830SDVOPtr s, Bool *on_1, Bool *on_2) I830SDVOWriteOutputs(s, 0); I830SDVOReadInputRegs(s); - *on_1 = s->sdvo_regs[SDVO_I2C_ARG_0]; - *on_2 = s->sdvo_regs[SDVO_I2C_ARG_1]; + *on_1 = s->sdvo_regs[SDVO_I2C_RETURN_0]; + *on_2 = s->sdvo_regs[SDVO_I2C_RETURN_1]; return TRUE; } |