summaryrefslogtreecommitdiff
path: root/include/linux/dsa
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-07-27 00:56:52 +0300
committerPaolo Abeni <pabeni@redhat.com>2022-07-28 12:29:36 +0300
commit5f10376b6bc1e2773f56977980ab08c9e4fa91a7 (patch)
tree3ff84167fed44603554cc97595bd0fb761f14d3f /include/linux/dsa
parent4158e38967975f14c3e6fb0e04df90e32061d463 (diff)
downloadlinux-5f10376b6bc1e2773f56977980ab08c9e4fa91a7.tar.xz
add missing includes and forward declarations to networking includes under linux/
Similarly to a recent include/net/ cleanup, this patch adds missing includes to networking headers under include/linux. All these problems are currently masked by the existing users including the missing dependency before the broken header. Link: https://lore.kernel.org/all/20220723045755.2676857-1-kuba@kernel.org/ v1 Signed-off-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20220726215652.158167-1-kuba@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/dsa')
-rw-r--r--include/linux/dsa/tag_qca.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/dsa/tag_qca.h b/include/linux/dsa/tag_qca.h
index 4359fb0221cf..50be7cbd93a5 100644
--- a/include/linux/dsa/tag_qca.h
+++ b/include/linux/dsa/tag_qca.h
@@ -3,6 +3,11 @@
#ifndef __TAG_QCA_H
#define __TAG_QCA_H
+#include <linux/types.h>
+
+struct dsa_switch;
+struct sk_buff;
+
#define QCA_HDR_LEN 2
#define QCA_HDR_VERSION 0x2