aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c')
-rw-r--r--src/drivers/i2c/max98373/chip.h3
-rw-r--r--src/drivers/i2c/rt5663/chip.h3
-rw-r--r--src/drivers/i2c/w83795/chip.h2
3 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/i2c/max98373/chip.h b/src/drivers/i2c/max98373/chip.h
index ad81395238..dcaf3570cc 100644
--- a/src/drivers/i2c/max98373/chip.h
+++ b/src/drivers/i2c/max98373/chip.h
@@ -16,6 +16,9 @@
/*
* Maxim MAX98373 audio codec devicetree bindings
*/
+
+#include <stdint.h>
+
struct drivers_i2c_max98373_config {
/* I2C Bus Frequency in Hertz (default 400kHz) */
uint32_t bus_speed;
diff --git a/src/drivers/i2c/rt5663/chip.h b/src/drivers/i2c/rt5663/chip.h
index 1b367c934f..5720b185a3 100644
--- a/src/drivers/i2c/rt5663/chip.h
+++ b/src/drivers/i2c/rt5663/chip.h
@@ -16,6 +16,9 @@
/*
* Realtek RT5663 audio codec devicetree bindings
*/
+
+#include <stdint.h>
+
struct drivers_i2c_rt5663_config {
/* I2C Bus Frequency in Hertz (default 400kHz) */
unsigned int bus_speed;
diff --git a/src/drivers/i2c/w83795/chip.h b/src/drivers/i2c/w83795/chip.h
index b48c5231b1..e3426dec5c 100644
--- a/src/drivers/i2c/w83795/chip.h
+++ b/src/drivers/i2c/w83795/chip.h
@@ -13,6 +13,8 @@
* GNU General Public License for more details.
*/
+#include <stdint.h>
+
struct drivers_i2c_w83795_config {
uint8_t fanin_ctl1;
uint8_t fanin_ctl2;