drivers: modem: gsm_ppp: Use DTS
Convert the gsm_ppp driver to use DTS. Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
This commit is contained in:
parent
6c98d41ba6
commit
9d2f8a1124
19 changed files with 87 additions and 29 deletions
|
@ -862,7 +862,7 @@ static int ppp_start(const struct device *dev)
|
|||
|
||||
dev_name = mux->name;
|
||||
#elif IS_ENABLED(CONFIG_MODEM_GSM_PPP)
|
||||
dev_name = CONFIG_MODEM_GSM_UART_NAME;
|
||||
dev_name = DT_BUS_LABEL(DT_INST(0, zephyr_gsm_ppp));
|
||||
#else
|
||||
dev_name = CONFIG_NET_PPP_UART_NAME;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue