drivers: stepper: Fix missing _driver_api suffix
The gen_kobject_list.py script expects the __subystem declaration to end with _driver_api. Adjust the stepper api and existing driver implementation accordingly. Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
This commit is contained in:
parent
59685b512e
commit
6ae753f5bd
2 changed files with 12 additions and 12 deletions
|
@ -322,7 +322,7 @@ static int gpio_stepper_motor_controller_init(const struct device *dev)
|
|||
.control_pins = gpio_stepper_motor_control_pins_##child};
|
||||
|
||||
#define GPIO_STEPPER_API_DEFINE(child) \
|
||||
static const struct stepper_api gpio_stepper_api_##child = { \
|
||||
static const struct stepper_driver_api gpio_stepper_api_##child = { \
|
||||
.enable = gpio_stepper_enable, \
|
||||
.move = gpio_stepper_move, \
|
||||
.is_moving = gpio_stepper_is_moving, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue