summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2020-07-06 18:10:10 -0500
committerDavid S. Miller <davem@davemloft.net>2020-07-07 12:43:18 -0700
commita21c1f028fbae8c8e2e2602d3ea206fefa448d73 (patch)
tree15bd2fc3ae60a0f7012baa697239379712537673
parent3c90e95bd958285d416e83cffda82ddc92d91294 (diff)
downloadlinux-a21c1f028fbae8c8e2e2602d3ea206fefa448d73.tar.bz2
net: ipa: include declarations in "ipa_gsi.c"
Include "ipa_gsi.h" in "ipa_gsi.c", so the public functions are defined before they are used in "ipa_gsi.c". This addresses some warnings that are reported with a "W=1" build. Fixes: c3f398b141a8 ("soc: qcom: ipa: IPA interface to GSI") Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ipa/ipa_gsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ipa/ipa_gsi.c b/drivers/net/ipa/ipa_gsi.c
index dc4a5c2196ae..d323adb03383 100644
--- a/drivers/net/ipa/ipa_gsi.c
+++ b/drivers/net/ipa/ipa_gsi.c
@@ -6,6 +6,7 @@
#include <linux/types.h>
+#include "ipa_gsi.h"
#include "gsi_trans.h"
#include "ipa.h"
#include "ipa_endpoint.h"