summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/tpm/chip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/tpm/chip.c')
-rw-r--r--src/drivers/i2c/tpm/chip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/tpm/chip.c b/src/drivers/i2c/tpm/chip.c
index b81b0d17c8..fbf9ffa667 100644
--- a/src/drivers/i2c/tpm/chip.c
+++ b/src/drivers/i2c/tpm/chip.c
@@ -11,7 +11,7 @@
#include "tpm.h"
#include "chip.h"
-static void i2c_tpm_fill_ssdt(struct device *dev)
+static void i2c_tpm_fill_ssdt(const struct device *dev)
{
struct drivers_i2c_tpm_config *config = dev->chip_info;
const char *scope = acpi_device_scope(dev);