drivers: modem: wncm14a2a: Convert driver to new DT device macros
Convert wncm14a2a driver: NET_DEVICE_OFFLOAD_INIT -> NET_DEVICE_DT_INST_OFFLOAD_DEFINE Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
This commit is contained in:
parent
2ae9c262c9
commit
1e15ca94ff
|
@ -1848,7 +1848,8 @@ static struct net_if_api api_funcs = {
|
||||||
.init = offload_iface_init,
|
.init = offload_iface_init,
|
||||||
};
|
};
|
||||||
|
|
||||||
NET_DEVICE_OFFLOAD_INIT(modem_wncm14a2a, "MODEM_WNCM14A2A",
|
NET_DEVICE_DT_INST_OFFLOAD_DEFINE(0, wncm14a2a_init, device_pm_control_nop,
|
||||||
wncm14a2a_init, device_pm_control_nop, &ictx,
|
&ictx, NULL,
|
||||||
NULL, CONFIG_MODEM_WNCM14A2A_INIT_PRIORITY, &api_funcs,
|
CONFIG_MODEM_WNCM14A2A_INIT_PRIORITY,
|
||||||
MDM_MAX_DATA_LENGTH);
|
&api_funcs,
|
||||||
|
MDM_MAX_DATA_LENGTH);
|
||||||
|
|
Loading…
Reference in a new issue