diff options
Diffstat (limited to 'src/radeon_probe.h')
-rw-r--r-- | src/radeon_probe.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon_probe.h b/src/radeon_probe.h index 34dad61d..355e9354 100644 --- a/src/radeon_probe.h +++ b/src/radeon_probe.h @@ -121,6 +121,7 @@ typedef struct RADEONConnector* pPort; } RADEONController; +#define RADEON_MAX_CONNECTOR 2 #define RADEON_MAX_CRTC 2 typedef struct @@ -139,7 +140,7 @@ typedef struct Bool ReversedDAC; /* TVDAC used as primary dac */ Bool ReversedTMDS; /* DDC_DVI is used for external TMDS */ - RADEONConnector PortInfo[2]; + RADEONConnector *PortInfo[RADEON_MAX_CONNECTOR]; RADEONController *Controller[RADEON_MAX_CRTC]; /* pointer to a controller */ } RADEONEntRec, *RADEONEntPtr; |