From 35a816d085a7e7e22b6bbee79c0122d47ca6abc5 Mon Sep 17 00:00:00 2001 From: Jia Ding Date: Fri, 15 Nov 2019 14:08:35 +0800 Subject: [PATCH] msm: ipa: fix ipa_disable_apps_wan_cons_deaggr declaration ipa_disable_apps_wan_cons_deaggr() has different declarations when CONFIG_IPA or CONFIG_IPA3 are not set. Thus fix the declaration to align with CONFIG_IPA or CONFIG_IPA3 enabled one. Change-Id: Ic09cac2484c9cfbcd0833583c05c6fc19a3c2aed Signed-off-by: Jia Ding --- include/linux/ipa.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/ipa.h b/include/linux/ipa.h index 9cc0a34447fb..49660785b360 100644 --- a/include/linux/ipa.h +++ b/include/linux/ipa.h @@ -2539,7 +2539,8 @@ static inline int ipa_release_wdi_mapping(u32 num_buffers, return -EINVAL; } -static inline int ipa_disable_apps_wan_cons_deaggr(void) +static inline int ipa_disable_apps_wan_cons_deaggr(uint32_t agg_size, + uint32_t agg_count) { return -EINVAL; }