summaryrefslogtreecommitdiff
path: root/src/intel_module.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-10-02 18:19:44 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-10-02 18:24:47 +0100
commit79785920485d0327d5512db0ed6f81bf4d4eeb90 (patch)
tree060939c89a8d1e3c1d57dd1ebcb7312a5f40a153 /src/intel_module.c
parentdb1edf0e10c6d3665d3bb2ffd381b1ba722cad95 (diff)
intel: Pass the platform device along to the open routines
This allows us to pass along more metadata along with the platform device in future. Currently we pass the device path, but in a hosted environment we should be passing along the authorized fd from the host. 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, 1 insertions, 2 deletions
diff --git a/src/intel_module.c b/src/intel_module.c
index ca8eacd7..6728d160 100644
--- a/src/intel_module.c
+++ b/src/intel_module.c
@@ -525,8 +525,7 @@ intel_platform_probe(DriverPtr driver,
if (!dev->pdev)
return FALSE;
- if (intel_open_device(entity_num, dev->pdev,
- xf86_get_platform_device_attrib(dev, ODEV_ATTRIB_PATH)) == -1)
+ if (intel_open_device(entity_num, dev->pdev, dev))
return FALSE;
/* Allow ourselves to act as a slaved output if not primary */