aboutsummaryrefslogtreecommitdiff
path: root/plugins/x22x
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/x22x')
-rw-r--r--plugins/x22x/mm-broadband-modem-x22x.c4
-rw-r--r--plugins/x22x/mm-broadband-modem-x22x.h2
-rw-r--r--plugins/x22x/mm-plugin-x22x.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/plugins/x22x/mm-broadband-modem-x22x.c b/plugins/x22x/mm-broadband-modem-x22x.c
index 3101c7e3..b7b16891 100644
--- a/plugins/x22x/mm-broadband-modem-x22x.c
+++ b/plugins/x22x/mm-broadband-modem-x22x.c
@@ -239,14 +239,14 @@ load_access_technologies (MMIfaceModem *self,
MMBroadbandModemX22x *
mm_broadband_modem_x22x_new (const gchar *device,
- const gchar *driver,
+ const gchar **drivers,
const gchar *plugin,
guint16 vendor_id,
guint16 product_id)
{
return g_object_new (MM_TYPE_BROADBAND_MODEM_X22X,
MM_BASE_MODEM_DEVICE, device,
- MM_BASE_MODEM_DRIVER, driver,
+ MM_BASE_MODEM_DRIVERS, drivers,
MM_BASE_MODEM_PLUGIN, plugin,
MM_BASE_MODEM_VENDOR_ID, vendor_id,
MM_BASE_MODEM_PRODUCT_ID, product_id,
diff --git a/plugins/x22x/mm-broadband-modem-x22x.h b/plugins/x22x/mm-broadband-modem-x22x.h
index aeb9f32b..f61e301d 100644
--- a/plugins/x22x/mm-broadband-modem-x22x.h
+++ b/plugins/x22x/mm-broadband-modem-x22x.h
@@ -41,7 +41,7 @@ struct _MMBroadbandModemX22xClass{
GType mm_broadband_modem_x22x_get_type (void);
MMBroadbandModemX22x *mm_broadband_modem_x22x_new (const gchar *device,
- const gchar *driver,
+ const gchar **drivers,
const gchar *plugin,
guint16 vendor_id,
guint16 product_id);
diff --git a/plugins/x22x/mm-plugin-x22x.c b/plugins/x22x/mm-plugin-x22x.c
index 22977771..859fc4b4 100644
--- a/plugins/x22x/mm-plugin-x22x.c
+++ b/plugins/x22x/mm-plugin-x22x.c
@@ -181,14 +181,14 @@ x22x_custom_init (MMPortProbe *probe,
static MMBaseModem *
create_modem (MMPlugin *self,
const gchar *sysfs_path,
- const gchar *driver,
+ const gchar **drivers,
guint16 vendor,
guint16 product,
GList *probes,
GError **error)
{
return MM_BASE_MODEM (mm_broadband_modem_x22x_new (sysfs_path,
- driver,
+ drivers,
mm_plugin_get_name (self),
vendor,
product));