Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87cb94fa authored by Ravinder Konka's avatar Ravinder Konka
Browse files

msm: ipa: fix compilation issue when IPA is disabled



Make change to define inline function when IPA is disabled.
Otherwise it will result in a compilation error.

Change-Id: I6979d15a6ed91aa0fb8be935a1646d77c4f82814
Acked-by: default avatarChaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: default avatarRavinder Konka <rkonka@codeaurora.org>
parent bda8711c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2426,7 +2426,8 @@ static inline int ipa_usb_init_teth_prot(enum ipa_usb_teth_prot teth_prot,
	return -EPERM;
}

static int ipa_usb_xdci_connect(struct ipa_usb_xdci_chan_params *ul_chan_params,
static inline int ipa_usb_xdci_connect(
			 struct ipa_usb_xdci_chan_params *ul_chan_params,
			 struct ipa_usb_xdci_chan_params *dl_chan_params,
			 struct ipa_req_chan_out_params *ul_out_params,
			 struct ipa_req_chan_out_params *dl_out_params,