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

Commit 37cbf6be authored by Michael Adisumarta's avatar Michael Adisumarta
Browse files

msm: ipa: compilation errors fix



These changes are fixing the compilation errors seen with
having stale IPA_V2 code.

Change-Id: I817bf0dd00ea9d0f1c680bed5861aed9cd682215
Acked-by: default avatarJyothi Jayanthi <jyothij@qti.qualcomm.com>
Signed-off-by: default avatarMichael Adisumarta <madisuma@codeaurora.org>
parent 8c72aa73
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
obj-$(CONFIG_IPA) += ipa_v2/ ipa_clients/ ipa_common
obj-$(CONFIG_IPA3) += ipa_v3/ ipa_clients/ ipa_common
obj-$(CONFIG_IPA_UT) += test/

+0 −7
Original line number Diff line number Diff line
@@ -2653,13 +2653,6 @@ static int ipa_generic_plat_drv_probe(struct platform_device *pdev_p)

	/* call probe based on IPA HW version */
	switch (ipa_api_hw_type) {
	case IPA_HW_v2_0:
	case IPA_HW_v2_1:
	case IPA_HW_v2_5:
	case IPA_HW_v2_6L:
		result = ipa_plat_drv_probe(pdev_p, ipa_api_ctrl,
			ipa_plat_drv_match);
		break;
	case IPA_HW_v3_0:
	case IPA_HW_v3_1:
	case IPA_HW_v3_5:
+0 −13
Original line number Diff line number Diff line
@@ -382,19 +382,6 @@ struct ipa_api_controller {
	void (*ipa_ntn_uc_dereg_rdyCB)(void);
};

#ifdef CONFIG_IPA
int ipa_plat_drv_probe(struct platform_device *pdev_p,
	struct ipa_api_controller *api_ctrl,
	const struct of_device_id *pdrv_match);
#else
static inline int ipa_plat_drv_probe(struct platform_device *pdev_p,
	struct ipa_api_controller *api_ctrl,
	const struct of_device_id *pdrv_match)
{
	return -ENODEV;
}
#endif /* (CONFIG_IPA) */

#ifdef CONFIG_IPA3
int ipa3_plat_drv_probe(struct platform_device *pdev_p,
	struct ipa_api_controller *api_ctrl,