diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-08-03 14:27:51 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-08-03 21:42:28 +0100 |
commit | 2b3f4ca33a00440a7005fef69099f8dbaddbbad1 (patch) | |
tree | 561a95c608fab9d174017e8aee1b48d6ab1f26a3 | |
parent | 5ff749727d3590368806508ac0d0fa8efd1d1d51 (diff) |
Unexport intel_chipsets
Only used by the core module code, so make it static.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/intel_driver.h | 1 | ||||
-rw-r--r-- | src/intel_module.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/intel_driver.h b/src/intel_driver.h index d88f225b..d760cb49 100644 --- a/src/intel_driver.h +++ b/src/intel_driver.h @@ -234,7 +234,6 @@ #define SUPPORTS_YTILING(pI810) (INTEL_INFO(intel)->gen >= 40) #define HAS_BLT(pI810) (INTEL_INFO(intel)->gen >= 60) -extern SymTabRec *intel_chipsets; struct intel_device_info { int gen; }; diff --git a/src/intel_module.c b/src/intel_module.c index 76409161..f1d9fc03 100644 --- a/src/intel_module.c +++ b/src/intel_module.c @@ -155,7 +155,7 @@ static const SymTabRec _intel_chipsets[] = { }; #define NUM_CHIPSETS (sizeof(_intel_chipsets) / sizeof(_intel_chipsets[0])) -SymTabRec *intel_chipsets = (SymTabRec *) _intel_chipsets; +static SymTabRec *intel_chipsets = (SymTabRec *) _intel_chipsets; #define INTEL_DEVICE_MATCH(d,i) \ { 0x8086, (d), PCI_MATCH_ANY, PCI_MATCH_ANY, 0x3 << 16, 0xff << 16, (intptr_t)(i) } |