From 766af4cc0c4bc0d1950c4815e39b9d9ad478c839 Mon Sep 17 00:00:00 2001 From: Jerzy Kasenberg Date: Tue, 22 Aug 2023 14:00:21 +0200 Subject: [PATCH] drivers: gpio: Smartbond: correct gpio init level Init level for GPIO drivers is set PRE_KERNEL_1. Smartbond(tm) driver had it set to POST_KERNEL by accident. Signed-off-by: Jerzy Kasenberg --- drivers/gpio/gpio_smartbond.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio_smartbond.c b/drivers/gpio/gpio_smartbond.c index 8bfa4f8d9a1..ae640e31b2e 100644 --- a/drivers/gpio/gpio_smartbond.c +++ b/drivers/gpio/gpio_smartbond.c @@ -283,7 +283,7 @@ static const struct gpio_driver_api gpio_smartbond_drv_api_funcs = { NULL, \ &gpio_smartbond_p##id##_data, \ &gpio_smartbond_p##id##_config, \ - POST_KERNEL, \ + PRE_KERNEL_1, \ CONFIG_GPIO_INIT_PRIORITY, \ &gpio_smartbond_drv_api_funcs);