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 @@ -243,7 +243,7 @@ static int counter_cc23x0_lgpt_stop(const struct device *dev)
243
243
return 0 ;
244
244
}
245
245
246
- static const struct counter_driver_api cc23x0_lgpt_api = {
246
+ static DEVICE_API ( counter , cc23x0_lgpt_api ) = {
247
247
.start = counter_cc23x0_lgpt_start ,
248
248
.stop = counter_cc23x0_lgpt_stop ,
249
249
.get_value = counter_cc23x0_lgpt_get_value ,
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ static int counter_cc23x0_init(const struct device *dev)
208
208
return 0 ;
209
209
}
210
210
211
- static const struct counter_driver_api rtc_cc23x0_api = {
211
+ static DEVICE_API ( counter , rtc_cc23x0_api ) = {
212
212
.start = counter_cc23x0_start ,
213
213
.stop = counter_cc23x0_stop ,
214
214
.get_value = counter_cc23x0_get_value ,
You can’t perform that action at this time.
0 commit comments