summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/pca9538
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/pca9538')
-rw-r--r--src/drivers/i2c/pca9538/chip.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/i2c/pca9538/chip.h b/src/drivers/i2c/pca9538/chip.h
index 96fd02f905..c9254a45e9 100644
--- a/src/drivers/i2c/pca9538/chip.h
+++ b/src/drivers/i2c/pca9538/chip.h
@@ -1,7 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef __DRIVERS_I2C_PCA9538_CHIP_H__
+#define __DRIVERS_I2C_PCA9538_CHIP_H__
+
struct drivers_i2c_pca9538_config {
unsigned char in_out; /* Use bit as input(1) or output (0). */
unsigned char invert; /* If a bit is 1, the input will be inverted. */
unsigned char out_val; /* Initial output value to drive. */
};
+
+#endif /* __DRIVERS_I2C_PCA9538_CHIP_H__ */