summaryrefslogtreecommitdiff
path: root/overlay
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-09-30 17:43:30 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-09-30 18:26:08 +0100
commit2b5a2615475e902aba91d31a8426516b401c43b4 (patch)
treedeb6d6c5f8691575643a25e1eafa1157e1a9e36f /overlay
parentcfbd09d6a64eea63a935ad72908bbc36be8b6724 (diff)
overlay: Silence compiler warning for unused i81x_info
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay')
-rw-r--r--overlay/igfx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/overlay/igfx.c b/overlay/igfx.c
index fa046e7f..4a9181ce 100644
--- a/overlay/igfx.c
+++ b/overlay/igfx.c
@@ -35,9 +35,11 @@ static const struct igfx_info generic_info = {
.gen = -1,
};
+#if 0
static const struct igfx_info i81x_info = {
.gen = 010,
};
+#endif
static const struct igfx_info i830_info = {
.gen = 020,
@@ -116,7 +118,7 @@ static const struct pci_id_match match[] = {
#endif
INTEL_I830_IDS(&i830_info),
- INTEL_I845G_IDS(&i830_info),
+ INTEL_I845G_IDS(&i845_info),
INTEL_I85X_IDS(&i855_info),
INTEL_I865G_IDS(&i865_info),