aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ipa/ipa_endpoint.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2024-04-16 18:10:14 -0500
committerPaolo Abeni <pabeni@redhat.com>2024-04-18 13:01:05 +0200
commita53c85f352587f0c4a9723acd385e3ef26d82187 (patch)
treeae0bcdb0f32959fb3886f160dbde9b9f51dc6cce /drivers/net/ipa/ipa_endpoint.c
parent8c044024e608dc1d7dc237102953e1545691f464 (diff)
net: ipa: include "ipa_interrupt.h" where needed
The IPA structure contains an ipa_interrupt structure pointer, and that structure is declared in "ipa.h". There is no need to include "ipa_interrupt.h" in that header file. Instead, include "ipa_interrupt.h" in the three source files (in addition to "ipa_main.c") that actually use the functions that are declared there. Similarly, three files use symbols defined in "ipa_reg.h" but do not include that file; include it. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ipa/ipa_endpoint.c')
-rw-r--r--drivers/net/ipa/ipa_endpoint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ipa/ipa_endpoint.c b/drivers/net/ipa/ipa_endpoint.c
index 4e8849c1f32d..8284b0a1178c 100644
--- a/drivers/net/ipa/ipa_endpoint.c
+++ b/drivers/net/ipa/ipa_endpoint.c
@@ -19,9 +19,11 @@
#include "ipa_cmd.h"
#include "ipa_mem.h"
#include "ipa_modem.h"
+#include "ipa_reg.h"
#include "ipa_table.h"
#include "ipa_gsi.h"
#include "ipa_power.h"
+#include "ipa_interrupt.h"
/* Hardware is told about receive buffers once a "batch" has been queued */
#define IPA_REPLENISH_BATCH 16 /* Must be non-zero */