Skip to content

Commit 062249d

Browse files
committed
board: gd32 fix twister failed
change pm device ctrl functions argvs. Signed-off-by: YuLong Yao <[email protected]>
1 parent 59df3aa commit 062249d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpio/gpio_gd32.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,7 @@ static int gpio_gd32_init(const struct device *dev)
257257

258258
#ifdef CONFIG_PM_DEVICE
259259
static int gpio_gd32_pm_device_ctrl(const struct device *dev,
260-
uint32_t ctrl_command,
261-
enum pm_device_state *state, pm_device_cb cb, void *arg)
260+
enum pm_device_action action)
262261
{
263262
return 0;
264263
}

0 commit comments

Comments
 (0)