From 2b3f4ca33a00440a7005fef69099f8dbaddbbad1 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 3 Aug 2012 14:27:51 +0100 Subject: Unexport intel_chipsets Only used by the core module code, so make it static. Signed-off-by: Chris Wilson --- src/intel_driver.h | 1 - src/intel_module.c | 2 +- 2 files changed, 1 insertion(+), 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) } -- cgit v1.2.3