lkml.org 
[lkml]   [2020]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH net 2/3] net: ipa: declare struct types in "ipa_gsi.h"
Date
Pointers to two struct types are used in "ipa_gsi.h", without those
struct types being forward-declared. Add these declarations.

Fixes: c3f398b141a8 ("soc: qcom: ipa: IPA interface to GSI")
Signed-off-by: Alex Elder <elder@linaro.org>
---
drivers/net/ipa/ipa_gsi.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/net/ipa/ipa_gsi.h b/drivers/net/ipa/ipa_gsi.h
index 3cf18600c68e..0a40f3dc55fc 100644
--- a/drivers/net/ipa/ipa_gsi.h
+++ b/drivers/net/ipa/ipa_gsi.h
@@ -8,7 +8,9 @@

#include <linux/types.h>

+struct gsi;
struct gsi_trans;
+struct ipa_gsi_endpoint_data;

/**
* ipa_gsi_trans_complete() - GSI transaction completion callback
--
2.25.1
\
 
 \ /
  Last update: 2020-07-07 01:11    [W:0.052 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site