aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-mbim.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-10-25 14:05:50 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-11-09 18:41:57 +0100
commit7faa3a5e2518765bb3683c26ecdf3155046424b0 (patch)
tree8114122cf8fb8d7f19853652934c7a54348e485a /src/mm-port-mbim.h
parent4ec2db75b8fc1175c12d007ca64d2edcf630e3cc (diff)
port-mbim: allow specifying input subsystem
We have assumed until now that all MBIM ports are based on the cdc_mbim driver, exposed in the 'usbmisc' subsystem by the cdc-wdm driver. This may no longer be true, so allow creating MBIM ports with an explicit subsystem instead of defaulting always to USBMISC.
Diffstat (limited to 'src/mm-port-mbim.h')
-rw-r--r--src/mm-port-mbim.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mm-port-mbim.h b/src/mm-port-mbim.h
index c0bd7988..8b37e99b 100644
--- a/src/mm-port-mbim.h
+++ b/src/mm-port-mbim.h
@@ -53,7 +53,8 @@ struct _MMPortMbimClass {
GType mm_port_mbim_get_type (void);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMPortMbim, g_object_unref)
-MMPortMbim *mm_port_mbim_new (const gchar *name);
+MMPortMbim *mm_port_mbim_new (const gchar *name,
+ MMPortSubsys subsys);
void mm_port_mbim_open (MMPortMbim *self,
#if defined WITH_QMI && QMI_MBIM_QMUX_SUPPORTED