diff options
Diffstat (limited to 'src/mm-plugin.c')
-rw-r--r-- | src/mm-plugin.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mm-plugin.c b/src/mm-plugin.c index 5bc62c09..40e215f8 100644 --- a/src/mm-plugin.c +++ b/src/mm-plugin.c @@ -467,12 +467,11 @@ mm_plugin_supports_port_finish (MMPlugin *self, void mm_plugin_supports_port (MMPlugin *self, - GObject *device_o, + MMDevice *device, GUdevDevice *port, GAsyncReadyCallback callback, gpointer user_data) { - MMDevice *device = MM_DEVICE (device_o); MMPortProbe *probe; GSimpleAsyncResult *async_result; PortProbeRunContext *ctx; @@ -579,10 +578,9 @@ out: MMBaseModem * mm_plugin_create_modem (MMPlugin *self, - GObject *device_o, + MMDevice *device, GError **error) { - MMDevice *device = MM_DEVICE (device_o); MMBaseModem *modem = NULL; GList *port_probes, *l; |