summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/tpm/chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/tpm/chip.h')
-rw-r--r--src/drivers/i2c/tpm/chip.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/i2c/tpm/chip.h b/src/drivers/i2c/tpm/chip.h
index 4eac7e16f4..156f8dddc0 100644
--- a/src/drivers/i2c/tpm/chip.h
+++ b/src/drivers/i2c/tpm/chip.h
@@ -1,5 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef __DRIVERS_I2C_TPM_CHIP_H__
+#define __DRIVERS_I2C_TPM_CHIP_H__
+
#include <acpi/acpi_device.h>
#include <device/i2c_simple.h>
@@ -18,3 +21,5 @@ struct drivers_i2c_tpm_config {
struct acpi_gpio irq_gpio; /* GPIO interrupt */
enum tpm_power_managed_mode power_managed_mode; /* TPM power managed mode */
};
+
+#endif /* __DRIVERS_I2C_TPM_CHIP_H__ */