drivers: timeaware_gpio: Place API into iterable section
Add wrapper DEVICE_API macro to all tgpio_driver_api instances. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
a113baa4d5
commit
ec205e77e5
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ static int tgpio_intel_read_ts_ec(const struct device *dev,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static const struct tgpio_driver_api api_funcs = {
|
||||
static DEVICE_API(tgpio, api_funcs) = {
|
||||
.pin_disable = tgpio_intel_pin_disable,
|
||||
.get_time = tgpio_intel_get_time,
|
||||
.set_perout = tgpio_intel_periodic_output,
|
||||
|
|
|
|||
Loading…
Reference in a new issue