Skip to content

Commit e116b94

Browse files
committed
drivers: counter: Place max32 API into iterable section
Add warpper DEVICE_API macro to counter_max32_wut instance. Signed-off-by: Sean Kyer <[email protected]>
1 parent ec5757f commit e116b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/counter/counter_max32_wut.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ static int counter_max32_wut_pm_action(const struct device *dev, enum pm_device_
258258
}
259259
#endif /* CONFIG_PM_DEVICE */
260260

261-
static const struct counter_driver_api counter_max32_wut_driver_api = {
261+
static DEVICE_API(counter, counter_max32_wut_driver_api) = {
262262
.start = counter_max32_wut_start,
263263
.stop = counter_max32_wut_stop,
264264
.get_value = counter_max32_wut_get_value,

0 commit comments

Comments
 (0)