We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa7959c commit 293af9eCopy full SHA for 293af9e
drivers/modem/gsm_ppp.c
@@ -525,7 +525,7 @@ static struct net_if *ppp_net_if(void)
525
static void set_ppp_carrier_on(struct gsm_modem *gsm)
526
{
527
static const struct ppp_api *api;
528
- const struct device *ppp_dev = DEVICE_DT_GET(DT_INST(0, zephyr_gsm_ppp));
+ const struct device *ppp_dev = device_get_binding(CONFIG_NET_PPP_DRV_NAME);
529
struct net_if *iface = gsm->iface;
530
int ret;
531
0 commit comments