summaryrefslogtreecommitdiff
path: root/src/intel_driver.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-08-03 15:08:45 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-08-03 21:42:28 +0100
commit05dcc5f1699ba90fc14c50882e8d4be89bc4a4f9 (patch)
treeacc433746fcc878f00e3e464924151ccb0218b66 /src/intel_driver.h
parent2b3f4ca33a00440a7005fef69099f8dbaddbbad1 (diff)
Pass the chipset info through driverPrivate rather than a global pointer
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_driver.h')
-rw-r--r--src/intel_driver.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel_driver.h b/src/intel_driver.h
index d760cb49..882d8895 100644
--- a/src/intel_driver.h
+++ b/src/intel_driver.h
@@ -238,9 +238,9 @@ struct intel_device_info {
int gen;
};
-const struct intel_device_info *
-intel_detect_chipset(ScrnInfoPtr scrn,
- EntityInfoPtr ent, struct pci_device *pci);
+void intel_detect_chipset(ScrnInfoPtr scrn,
+ EntityInfoPtr ent,
+ struct pci_device *pci);
#endif /* INTEL_DRIVER_H */