summaryrefslogtreecommitdiffstats
path: root/drivers/net/wwan/wwan_hwsim.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wwan/wwan_hwsim.c')
-rw-r--r--drivers/net/wwan/wwan_hwsim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wwan/wwan_hwsim.c b/drivers/net/wwan/wwan_hwsim.c
index a8582a58a385..5b62cf3b3c42 100644
--- a/drivers/net/wwan/wwan_hwsim.c
+++ b/drivers/net/wwan/wwan_hwsim.c
@@ -288,7 +288,7 @@ static struct wwan_hwsim_dev *wwan_hwsim_dev_new(void)
INIT_WORK(&dev->del_work, wwan_hwsim_dev_del_work);
- err = wwan_register_ops(&dev->dev, &wwan_hwsim_wwan_rtnl_ops, dev);
+ err = wwan_register_ops(&dev->dev, &wwan_hwsim_wwan_rtnl_ops, dev, 1);
if (err)
goto err_unreg_dev;