diff options
author | Dave Airlie <airlied@linux.ie> | 2006-12-03 09:53:35 +1100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-12-03 09:53:35 +1100 |
commit | 218cb7f8db35d0ce8f9fc4ece72bd5ec3f52106f (patch) | |
tree | 7be15f46a96c7deabe95a13545d91865b4d61a5e /src/radeon_probe.h | |
parent | f22fd02bc7f7ef67e33c9bd93eae2d7488669b5e (diff) |
radeon: dynamically allocate connectors
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 34dad61..355e935 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; |