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:
Fabian Blatz 2024-08-27 16:45:41 +02:00 committed by Carles Cufí
commit 6ae753f5bd
2 changed files with 12 additions and 12 deletions

View file

@ -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, \