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

Commit 6675f46a authored by Ravinder Konka's avatar Ravinder Konka Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa: fix compilation issue with compat_ioctl



Make changes to use different function name for compat_ipa_ioctl
when both v2 and v3 drivers are enabled.

Change-Id: I4fba28ab13bbd12b85109e0d9121ff4ddb194e24
Acked-by: default avatarChaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: default avatarRavinder Konka <rkonka@codeaurora.org>
parent d171201f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2736,7 +2736,7 @@ static void ipa3_teardown_apps_pipes(void)
}

#ifdef CONFIG_COMPAT
long compat_ipa_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
long compat_ipa3_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{
	int retval = 0;
	struct ipa3_ioc_nat_alloc_mem32 nat_mem32;
@@ -2881,7 +2881,7 @@ static const struct file_operations ipa3_drv_fops = {
	.write = ipa3_write,
	.unlocked_ioctl = ipa3_ioctl,
#ifdef CONFIG_COMPAT
	.compat_ioctl = compat_ipa_ioctl,
	.compat_ioctl = compat_ipa3_ioctl,
#endif
};