Skip to content

Commit 3d55a9d

Browse files
seankyerkartben
authored andcommitted
drivers: counter: Place max32 API into iterable section
Add warpper DEVICE_API macro to counter_max32_wut instance. Signed-off-by: Sean Kyer <Sean.Kyer@analog.com>
1 parent ae681c4 commit 3d55a9d

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
@@ -255,7 +255,7 @@ static int counter_max32_wut_pm_action(const struct device *dev, enum pm_device_
255255
}
256256
#endif /* CONFIG_PM_DEVICE */
257257

258-
static const struct counter_driver_api counter_max32_wut_driver_api = {
258+
static DEVICE_API(counter, counter_max32_wut_driver_api) = {
259259
.start = counter_max32_wut_start,
260260
.stop = counter_max32_wut_stop,
261261
.get_value = counter_max32_wut_get_value,

0 commit comments

Comments
 (0)