diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-03 14:52:11 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-03 16:15:22 +0100 |
commit | a0476ee6d0770156098aa633018addfc607c8a99 (patch) | |
tree | 43bb8494f90093d7ae7ef43246fe7949c3cfa84a /src/intel_module.c | |
parent | a47f8683fefc9caa4df914de59929ae99823ca37 (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.c | 3 |
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; |