intel_extreme: init port_count always (typo fix).
This commit is contained in:
parent
094ea67748
commit
7878a59fde
@ -246,9 +246,10 @@ probe_ports()
|
||||
bool foundDP = false;
|
||||
bool foundDDI = false;
|
||||
|
||||
gInfo->port_count = 0;
|
||||
|
||||
// Display Port
|
||||
if (!gInfo->shared_info->device_type.HasDDI()) {
|
||||
gInfo->port_count = 0;
|
||||
for (int i = INTEL_PORT_A; i <= INTEL_PORT_D; i++) {
|
||||
TRACE("Probing DisplayPort %d\n", i);
|
||||
Port* displayPort = new(std::nothrow) DisplayPort((port_index)i);
|
||||
|
Loading…
Reference in New Issue
Block a user