From 2b5a2615475e902aba91d31a8426516b401c43b4 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 30 Sep 2016 17:43:30 +0100 Subject: overlay: Silence compiler warning for unused i81x_info Signed-off-by: Chris Wilson --- overlay/igfx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'overlay') 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), -- cgit v1.2.3