drivers: kscan: Place API into iterable section
Add wrapper DEVICE_API macro to all kscan_driver_api instances. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
856ed9188c
commit
710aee823e
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ static int kscan_input_init(const struct device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static const struct kscan_driver_api kscan_input_driver_api = {
|
||||
static DEVICE_API(kscan, kscan_input_driver_api) = {
|
||||
.config = kscan_input_configure,
|
||||
.enable_callback = kscan_input_enable_callback,
|
||||
.disable_callback = kscan_input_disable_callback,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue