broadband-modem-mbim: add missing guard for shared_qmi_init()
Fixes: 9e42a19742
This commit is contained in:

committed by
Aleksander Morgado

parent
2729b08696
commit
6530683cfb
@@ -4634,6 +4634,8 @@ iface_modem_signal_init (MMIfaceModemSignal *iface)
|
||||
iface->load_values_finish = modem_signal_load_values_finish;
|
||||
}
|
||||
|
||||
#if defined WITH_QMI && QMI_MBIM_QMUX_SUPPORTED
|
||||
|
||||
static MMIfaceModemLocation *
|
||||
peek_parent_location_interface (MMSharedQmi *self)
|
||||
{
|
||||
@@ -4647,6 +4649,8 @@ shared_qmi_init (MMSharedQmi *iface)
|
||||
iface->peek_parent_location_interface = peek_parent_location_interface;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
static void
|
||||
mm_broadband_modem_mbim_class_init (MMBroadbandModemMbimClass *klass)
|
||||
{
|
||||
|
Reference in New Issue
Block a user