summaryrefslogtreecommitdiff
path: root/src/drivers/i2c
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2019-12-05 17:16:07 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-12-11 11:39:36 +0000
commitba8d8f2583e5b9830322fb4a96b04306d427f29a (patch)
tree7465de6bc4b968c809e562c3b273578901b96818 /src/drivers/i2c
parent540a98001d05a7b780e415c34d14a97b14e44ac6 (diff)
downloadcoreboot-ba8d8f2583e5b9830322fb4a96b04306d427f29a.tar.xz
drivers/i2c/rt5663/: fix missing header include
'struct acpi_gpio' and 'struct acpi_irq' require the inclusion of acpi_device.h. The only reason this wasn't caught previously is due to the header being included with another driver compiled first on the one board using it (google/eve). Change-Id: I987f0ec6f769e550f3421629e0ef0c579a3d12f9 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37539 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/i2c')
-rw-r--r--src/drivers/i2c/rt5663/chip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/i2c/rt5663/chip.h b/src/drivers/i2c/rt5663/chip.h
index b1ed4b6589..235c253d07 100644
--- a/src/drivers/i2c/rt5663/chip.h
+++ b/src/drivers/i2c/rt5663/chip.h
@@ -15,6 +15,7 @@
* Realtek RT5663 audio codec devicetree bindings
*/
+#include <arch/acpi_device.h>
#include <stdint.h>
struct drivers_i2c_rt5663_config {