summaryrefslogtreecommitdiff
path: root/src/intel_driver.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-07-23 22:59:16 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-07-23 22:59:16 +0100
commit554fce8a65b2518cae032f1eadf58830559299c8 (patch)
treebc258831df9a39c6efb4b68c579381e744a438ed /src/intel_driver.c
parent40d90dfd8674c255a45b46bbdc09d497af5b3f50 (diff)
uxa: Pass the correct parameters to intel_detect_chipset()
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_driver.c')
-rw-r--r--src/intel_driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/intel_driver.c b/src/intel_driver.c
index e76f19eb..cab7b4ee 100644
--- a/src/intel_driver.c
+++ b/src/intel_driver.c
@@ -186,8 +186,7 @@ static void PreInitCleanup(ScrnInfoPtr scrn)
static void intel_check_chipset_option(ScrnInfoPtr scrn)
{
intel_screen_private *intel = intel_get_screen_private(scrn);
- intel->info =
- intel_detect_chipset(scrn, intel->pEnt->device, intel->PciInfo);
+ intel->info = intel_detect_chipset(scrn, intel->pEnt, intel->PciInfo);
}
static Bool I830GetEarlyOptions(ScrnInfoPtr scrn)