drivers: gpio: Place API into iterable section
Add wrapper DEVICE_API macro to all gpio_driver_api instances. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
548958de05
commit
6d178f9cd9
94 changed files with 97 additions and 97 deletions
|
@ -24,7 +24,7 @@ LOG_MODULE_REGISTER(LOG_MODULE_NAME);
|
|||
* An API is required for this driver, but as no pin access is provided at
|
||||
* this level, use the default API contents provided by the driver subsystem.
|
||||
*/
|
||||
static const struct gpio_driver_api gpio_xlnx_ps_default_apis;
|
||||
static DEVICE_API(gpio, gpio_xlnx_ps_default_apis);
|
||||
|
||||
/**
|
||||
* @brief Initialize a Xilinx PS GPIO controller parent device
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue