summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/udev.c b/plugins/udev.c
index 1ee4cdd7..690eafa0 100644
--- a/plugins/udev.c
+++ b/plugins/udev.c
@@ -235,7 +235,7 @@ static void add_modem(struct udev_device *udev_device)
modem = find_modem(devpath);
if (modem == NULL) {
- modem = ofono_modem_create(driver);
+ modem = ofono_modem_create(NULL, driver);
if (modem == NULL)
return;