From 487a14c04669b018405f66e28ecaf0d0f02837d3 Mon Sep 17 00:00:00 2001 From: Maximilian Deubel Date: Thu, 22 Feb 2024 13:42:14 +0100 Subject: [PATCH] drivers: sensor: adxl367: fix trigger support The adxl367_trigger.c file was missing a DT_COMPAT definition, which resulted in the driver config structs being misaligned between the driver source files. This is fixed here. Signed-off-by: Maximilian Deubel --- drivers/sensor/adxl367/adxl367_trigger.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/sensor/adxl367/adxl367_trigger.c b/drivers/sensor/adxl367/adxl367_trigger.c index 4e86d46634..534bd07324 100644 --- a/drivers/sensor/adxl367/adxl367_trigger.c +++ b/drivers/sensor/adxl367/adxl367_trigger.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: Apache-2.0 */ +#define DT_DRV_COMPAT adi_adxl367 + #include #include #include