[PATCH] broadband-modem-mbim: add missing guard for shared_qmi_init()
Aleksander Morgado
aleksander at aleksander.es
Wed Aug 22 15:22:15 UTC 2018
On 22/08/18 02:38, Ben Chan wrote:
> Fixes: 9e42a19742de55cf5c0ba4d68069c1845e9392e6
> ---
Pushed, thanks
> src/mm-broadband-modem-mbim.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c
> index 1559ab5b..eb9e723b 100644
> --- a/src/mm-broadband-modem-mbim.c
> +++ b/src/mm-broadband-modem-mbim.c
> @@ -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)
> {
>
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list