diff options
author | Aleksander Morgado <aleksandermj@chromium.org> | 2024-05-09 10:52:31 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksandermj@chromium.org> | 2024-05-29 09:50:05 +0000 |
commit | 800c2bb02a40e0b437d4b15f16fece41c33e0d25 (patch) | |
tree | c30d768dab2486e73030c48629a982124be2bca9 /src/plugins/fibocom/mm-shared-fibocom.h | |
parent | 33649756f5b839161e30acb4b33ce144eb93f5ef (diff) |
fibocom: MBIM in shared utils is optional
Diffstat (limited to 'src/plugins/fibocom/mm-shared-fibocom.h')
-rw-r--r-- | src/plugins/fibocom/mm-shared-fibocom.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/fibocom/mm-shared-fibocom.h b/src/plugins/fibocom/mm-shared-fibocom.h index 569e836b..22d57dcf 100644 --- a/src/plugins/fibocom/mm-shared-fibocom.h +++ b/src/plugins/fibocom/mm-shared-fibocom.h @@ -16,6 +16,8 @@ #ifndef MM_SHARED_FIBOCOM_H #define MM_SHARED_FIBOCOM_H +#include <config.h> + #include <glib-object.h> #include <gio/gio.h> @@ -38,6 +40,8 @@ struct _MMSharedFibocomInterface { void mm_shared_fibocom_setup_ports (MMBroadbandModem *self); +#if defined WITH_MBIM + MMPort *mm_shared_fibocom_create_usbmisc_port (MMBaseModem *self, const gchar *name, MMPortType ptype); @@ -45,6 +49,8 @@ MMPort *mm_shared_fibocom_create_wwan_port (MMBaseModem *self, const gchar *name, MMPortType ptype); +#endif + void mm_shared_fibocom_firmware_load_update_settings (MMIfaceModemFirmware *self, GAsyncReadyCallback callback, gpointer user_data); |