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>
This commit is contained in:
parent
ae681c48c7
commit
3d55a9d410
@ -255,7 +255,7 @@ static int counter_max32_wut_pm_action(const struct device *dev, enum pm_device_
|
||||
}
|
||||
#endif /* CONFIG_PM_DEVICE */
|
||||
|
||||
static const struct counter_driver_api counter_max32_wut_driver_api = {
|
||||
static DEVICE_API(counter, counter_max32_wut_driver_api) = {
|
||||
.start = counter_max32_wut_start,
|
||||
.stop = counter_max32_wut_stop,
|
||||
.get_value = counter_max32_wut_get_value,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user