Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37539 )
Change subject: drivers/i2c/rt5663/: fix missing header include ......................................................................
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 --- M src/drivers/i2c/rt5663/chip.h M src/drivers/i2c/rt5663/rt5663.c 2 files changed, 1 insertion(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/39/37539/1
diff --git a/src/drivers/i2c/rt5663/chip.h b/src/drivers/i2c/rt5663/chip.h index b1ed4b6..eb5ac4a 100644 --- a/src/drivers/i2c/rt5663/chip.h +++ b/src/drivers/i2c/rt5663/chip.h @@ -15,7 +15,7 @@ * Realtek RT5663 audio codec devicetree bindings */
-#include <stdint.h> +#include <arch/acpi_device.h>
struct drivers_i2c_rt5663_config { /* I2C Bus Frequency in Hertz (default 400kHz) */ diff --git a/src/drivers/i2c/rt5663/rt5663.c b/src/drivers/i2c/rt5663/rt5663.c index 6f4e032..b6e8925 100644 --- a/src/drivers/i2c/rt5663/rt5663.c +++ b/src/drivers/i2c/rt5663/rt5663.c @@ -12,7 +12,6 @@ */
#include <arch/acpi.h> -#include <arch/acpi_device.h> #include <arch/acpigen.h> #include <console/console.h> #include <device/i2c.h>