summaryrefslogtreecommitdiff
path: root/src/intel_module.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-07-14 09:59:07 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-07-14 10:02:51 +0100
commitb260ca44b3aaba2c8cd25640ad7ac9ca6478b0f2 (patch)
tree273bf76d07bf588dad0a526314fb1581475d19f6 /src/intel_module.c
parentf517bdb12b909ef9d0897166bdabc537551a065b (diff)
Drop some unused includes
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_module.c')
-rw-r--r--src/intel_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel_module.c b/src/intel_module.c
index f8ba1494..a39affbd 100644
--- a/src/intel_module.c
+++ b/src/intel_module.c
@@ -28,9 +28,7 @@
#include "config.h"
#endif
-#include <xf86.h>
#include <xf86_OSproc.h>
-#include <xf86cmap.h>
#include <xf86Parser.h>
#include <xf86drmMode.h>
@@ -159,10 +157,12 @@ SymTabRec *intel_chipsets = (SymTabRec *) _intel_chipsets;
{ 0x8086, (d), PCI_MATCH_ANY, PCI_MATCH_ANY, 0, 0, (intptr_t)(i) }
static const struct pci_id_match intel_device_match[] = {
+#if !KMS_ONLY
INTEL_DEVICE_MATCH (PCI_CHIP_I810, &intel_i81x_info ),
INTEL_DEVICE_MATCH (PCI_CHIP_I810_DC100, &intel_i81x_info ),
INTEL_DEVICE_MATCH (PCI_CHIP_I810_E, &intel_i81x_info ),
INTEL_DEVICE_MATCH (PCI_CHIP_I815, &intel_i81x_info ),
+#endif
INTEL_DEVICE_MATCH (PCI_CHIP_I830_M, &intel_i830_info ),
INTEL_DEVICE_MATCH (PCI_CHIP_845_G, &intel_i845_info ),