summaryrefslogtreecommitdiff
path: root/src/legacy_output.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-01-26 03:12:44 -0500
committerAlex Deucher <alexdeucher@gmail.com>2009-01-26 03:12:44 -0500
commit2f92b885457c5cee2098ebbf8c6fe5a5eb98ec48 (patch)
treecc49bdb98f858f3bad7b47c75bc04fde340ccf46 /src/legacy_output.c
parent4cbf6189f3a7945a1141b0451e4f7881ceaaadcd (diff)
Warning fixes
Diffstat (limited to 'src/legacy_output.c')
-rw-r--r--src/legacy_output.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/legacy_output.c b/src/legacy_output.c
index 1a5fd092..8ec6db2a 100644
--- a/src/legacy_output.c
+++ b/src/legacy_output.c
@@ -55,6 +55,9 @@ static RADEONMonitorType radeon_detect_primary_dac(ScrnInfoPtr pScrn, Bool color
static RADEONMonitorType radeon_detect_tv_dac(ScrnInfoPtr pScrn, Bool color);
static RADEONMonitorType radeon_detect_ext_dac(ScrnInfoPtr pScrn);
+extern Bool
+RADEONI2CInit(xf86OutputPtr output, I2CBusPtr *bus_ptr, char *name, Bool dvo);
+
static const RADEONTMDSPll default_tmds_pll[CHIP_FAMILY_LAST][4] =
{
{{0, 0}, {0, 0}, {0, 0}, {0, 0}}, /*CHIP_FAMILY_UNKNOW*/
@@ -823,8 +826,7 @@ legacy_output_dpms(xf86OutputPtr output, int mode)
RADEONSavePtr save = info->ModeReg;
unsigned char * RADEONMMIO = info->MMIO;
unsigned long tmp;
- RADEONOutputPrivatePtr radeon_output;
- xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn);
+ RADEONOutputPrivatePtr radeon_output = output->driver_private;
radeon_encoder_ptr radeon_encoder = radeon_get_encoder(output);
if (radeon_encoder == NULL)