diff --git a/drivers/memc/memc_mcux_flexspi.c b/drivers/memc/memc_mcux_flexspi.c index 4c88235f67..ee819196b4 100644 --- a/drivers/memc/memc_mcux_flexspi.c +++ b/drivers/memc/memc_mcux_flexspi.c @@ -163,7 +163,7 @@ static int memc_flexspi_init(const struct device *dev) \ DEVICE_DT_INST_DEFINE(n, \ memc_flexspi_init, \ - device_pm_control_nop, \ + NULL, \ &memc_flexspi_data_##n, \ &memc_flexspi_config_##n, \ POST_KERNEL, \ diff --git a/drivers/memc/memc_mcux_flexspi_hyperram.c b/drivers/memc/memc_mcux_flexspi_hyperram.c index b8e9c42061..a05ee49d05 100644 --- a/drivers/memc/memc_mcux_flexspi_hyperram.c +++ b/drivers/memc/memc_mcux_flexspi_hyperram.c @@ -181,7 +181,7 @@ static int memc_flexspi_hyperram_init(const struct device *dev) \ DEVICE_DT_INST_DEFINE(n, \ memc_flexspi_hyperram_init, \ - device_pm_control_nop, \ + NULL, \ &memc_flexspi_hyperram_data_##n, \ &memc_flexspi_hyperram_config_##n, \ POST_KERNEL, \ diff --git a/drivers/memc/memc_stm32.c b/drivers/memc/memc_stm32.c index 5c395bc9ec..f47223d3fa 100644 --- a/drivers/memc/memc_stm32.c +++ b/drivers/memc/memc_stm32.c @@ -58,5 +58,5 @@ static const struct memc_stm32_config config = { .pinctrl_len = ARRAY_SIZE(pinctrl), }; -DEVICE_DT_INST_DEFINE(0, memc_stm32_init, device_pm_control_nop, NULL, +DEVICE_DT_INST_DEFINE(0, memc_stm32_init, NULL, NULL, &config, POST_KERNEL, CONFIG_MEMC_INIT_PRIORITY, NULL); diff --git a/drivers/memc/memc_stm32_sdram.c b/drivers/memc/memc_stm32_sdram.c index e781468e94..f8e4ded601 100644 --- a/drivers/memc/memc_stm32_sdram.c +++ b/drivers/memc/memc_stm32_sdram.c @@ -129,5 +129,5 @@ static const struct memc_stm32_sdram_config config = { .banks_len = ARRAY_SIZE(bank_config), }; -DEVICE_DT_INST_DEFINE(0, memc_stm32_sdram_init, device_pm_control_nop, +DEVICE_DT_INST_DEFINE(0, memc_stm32_sdram_init, NULL, NULL, &config, POST_KERNEL, CONFIG_MEMC_INIT_PRIORITY, NULL);