Skip to content

Commit 0241ad8

Browse files
committed
drivers: clock_control: beetle: convert to DT_INST defines
Convert driver to use DT_INST_ defines. Signed-off-by: Kumar Gala <[email protected]>
1 parent a421fc8 commit 0241ad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clock_control/beetle_clock_control.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ static int beetle_clock_control_init(struct device *dev)
233233

234234
static const struct beetle_clock_control_cfg_t beetle_cc_cfg = {
235235
.clock_control_id = 0,
236-
.freq = DT_ARM_CORTEX_M3_0_CLOCK_FREQUENCY,
236+
.freq = DT_INST_0_ARM_CORTEX_M3_CLOCK_FREQUENCY,
237237
};
238238

239239
/**

0 commit comments

Comments
 (0)