make busID non mandatory

Currently the driver only probes a device when it has a
busID. The busID is optional so don't depend on it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Sascha Hauer 2012-03-03 14:09:25 +01:00 committed by Dave Airlie
parent bb7e39c1f2
commit 53204d5c8b

View File

@ -273,7 +273,6 @@ Probe(DriverPtr drv, int flags)
for (i = 0; i < numDevSections; i++) {
dev = xf86FindOptionValue(devSections[i]->options,"kmsdev");
if (devSections[i]->busID) {
if (probe_hw(dev)) {
int entity;
entity = xf86ClaimFbSlot(drv, 0, devSections[i], TRUE);
@ -300,7 +299,6 @@ Probe(DriverPtr drv, int flags)
"using %s\n", dev ? dev : "default device");
}
}
}
free(devSections);