intel: Handle fallback probing without match_data
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 3 Oct 2013 14:58:26 +0000 (15:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 3 Oct 2013 15:15:22 +0000 (16:15 +0100)
commita47f8683fefc9caa4df914de59929ae99823ca37
tree0e095a3502337e846241fee99244c27fe58be5fd
parent6c157a925f258fd4c82cf0c3004e7d0056c1cd70
intel: Handle fallback probing without match_data

One extreme fallback path through the xf86PlatformProbe results in a
call without any match data. As we have a device by this point, we can
simply do a reverse match.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/intel_device.c
src/intel_driver.h
src/intel_module.c