diff --git a/drivers/modem/gsm_ppp.c b/drivers/modem/gsm_ppp.c index be4067cf004..fa91e0f77f2 100644 --- a/drivers/modem/gsm_ppp.c +++ b/drivers/modem/gsm_ppp.c @@ -1364,5 +1364,5 @@ static int gsm_init(const struct device *dev) return 0; } -DEVICE_DT_DEFINE(DT_INST(0, zephyr_gsm_ppp), gsm_init, NULL, &gsm, NULL, +DEVICE_DT_DEFINE(DT_DRV_INST(0), gsm_init, NULL, &gsm, NULL, POST_KERNEL, CONFIG_MODEM_GSM_INIT_PRIORITY, NULL);