[net,3/3] net: ipa: include declarations in "ipa_gsi.c"

Message ID 20200706231010.1233505-4-elder@linaro.org
State New
Headers show
  • net: ipa: fix warning-reported errors
Related show

Commit Message

Alex Elder July 6, 2020, 11:10 p.m.
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>

 drivers/net/ipa/ipa_gsi.c | 1 +
 1 file changed, 1 insertion(+)



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"