summaryrefslogtreecommitdiff
path: root/src/intel_module.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-10-03 14:52:11 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-10-03 16:15:22 +0100
commita0476ee6d0770156098aa633018addfc607c8a99 (patch)
tree43bb8494f90093d7ae7ef43246fe7949c3cfa84a /src/intel_module.c
parenta47f8683fefc9caa4df914de59929ae99823ca37 (diff)
intel: Allow opening the device only through platform information
Only fail to open the device based on the PCI address, if and only if we do not have sufficient platform information to find the correct system device. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_module.c')
-rw-r--r--src/intel_module.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/intel_module.c b/src/intel_module.c
index d8cf9de6..72c028e3 100644
--- a/src/intel_module.c
+++ b/src/intel_module.c
@@ -546,9 +546,6 @@ intel_platform_probe(DriverPtr driver,
{
unsigned scrn_flags = 0;
- if (!dev->pdev)
- return FALSE;
-
if (intel_open_device(entity_num, dev->pdev, dev) == -1)
return FALSE;