From 9625264137a28832c2239e10edfed2d48a3e3b96 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Sun, 21 Sep 2014 11:28:39 +0200 Subject: [PATCH] google/link, intel/wtm2: Do not include non-existent "hda.h" in i915.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 75c83870 (azalia: Shrink boilerplate) [1] removed the header file `hda_verb.h`. This header is still included in the mainboard’s `i915.c`, causing the following build error, when native graphics initialization is enabled. CC mainboard/intel/wtm2/i915.ramstage.o src/mainboard/intel/wtm2/i915.c:34:22: fatal error: hda_verb.h: No such file or directory This was not caught, as native graphics initialization is not enabled for the build tests. It turns out that the array `mainboard_cim_verb_data` is not used in `src/mainboard/intel/wtm2/hda_verb.h`, so fix the problem by removing the inclusion. [1] http://review.coreboot.org/6840 Change-Id: Ic902581c6809a1069e169cc874678146a24d75f3 Signed-off-by: Paul Menzel Reviewed-on: http://review.coreboot.org/6945 Tested-by: build bot (Jenkins) Reviewed-by: Vladimir Serbinenko Reviewed-by: Aaron Durbin --- src/mainboard/google/link/i915.c | 1 - src/mainboard/intel/wtm2/i915.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/mainboard/google/link/i915.c b/src/mainboard/google/link/i915.c index 383c89126a..a9028dd63e 100644 --- a/src/mainboard/google/link/i915.c +++ b/src/mainboard/google/link/i915.c @@ -31,7 +31,6 @@ #include #include #include -#include "hda_verb.h" #include "onboard.h" #include "ec.h" #include diff --git a/src/mainboard/intel/wtm2/i915.c b/src/mainboard/intel/wtm2/i915.c index 64fa6b1ce2..f542a13574 100644 --- a/src/mainboard/intel/wtm2/i915.c +++ b/src/mainboard/intel/wtm2/i915.c @@ -31,7 +31,6 @@ #include #include #include -#include "hda_verb.h" #include #include #include