File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -398,7 +398,7 @@ static int mcux_rtc_jdp_init(const struct device *dev)
398398 return 0 ;
399399}
400400
401- static const struct counter_driver_api mcux_rtc_jdp_driver_api = {
401+ static DEVICE_API ( counter , mcux_rtc_jdp_driver_api ) = {
402402 .start = mcux_rtc_jdp_start ,
403403 .stop = mcux_rtc_jdp_stop ,
404404 .get_value = mcux_rtc_jdp_get_value ,
Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ static uint32_t counter_npcx_get_pending_int(const struct device *dev)
330330 return reg_base -> LCTSTAT & NPCX_LCT_STAT_EV_MASK ;
331331}
332332
333- static const struct counter_driver_api counter_npcx_lct_api = {
333+ static DEVICE_API ( counter , counter_npcx_lct_api ) = {
334334 .start = counter_npcx_lct_start ,
335335 .stop = counter_npcx_lct_stop ,
336336 .get_value = counter_npcx_lct_get_value ,
You can’t perform that action at this time.
0 commit comments