Skip to content

Commit 8b566a0

Browse files
Update drivers/comparator/comparator_stm32_comp.c
Co-authored-by: Etienne Carriere <[email protected]>
1 parent d2b909c commit 8b566a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/comparator/comparator_stm32_comp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ static DEVICE_API(comparator, stm32_comp_comp_api) = {
300300

301301
#define STM32_COMP_DEVICE(inst) \
302302
\
303-
static struct stm32_pclken comp_clk[] = STM32_DT_INST_CLOCKS(inst); \
303+
static struct stm32_pclken comp_##inst##_clk[] = STM32_DT_INST_CLOCKS(inst); \
304304
\
305305
PINCTRL_DT_INST_DEFINE(inst); \
306306
\

0 commit comments

Comments
 (0)