2
0
Эх сурвалжийг харах

realtek: Add missing headers

We are missing a bunch of headers, which trigger errors on 6.1, probably
due to changed header-in-header dependencies. Best add them now.

Signed-off-by: Olliver Schinagl <[email protected]>
Olliver Schinagl 2 жил өмнө
parent
commit
9fb1dbb1df

+ 2 - 0
target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/common.c

@@ -6,6 +6,8 @@
 #include <net/nexthop.h>
 #include <net/neighbour.h>
 #include <net/netevent.h>
+#include <linux/etherdevice.h>
+#include <linux/if_vlan.h>
 #include <linux/inetdevice.h>
 #include <linux/rhashtable.h>
 #include <linux/of_net.h>

+ 1 - 0
target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/dsa.c

@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-only
 
 #include <net/dsa.h>
+#include <linux/etherdevice.h>
 #include <linux/if_bridge.h>
 #include <asm/mach-rtl838x/mach-rtl83xx.h>
 

+ 1 - 0
target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/rtl838x.c

@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-only
 
 #include <asm/mach-rtl838x/mach-rtl83xx.h>
+#include <linux/etherdevice.h>
 #include <linux/iopoll.h>
 #include <net/nexthop.h>
 

+ 1 - 0
target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/rtl839x.c

@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-only
 
 #include <asm/mach-rtl838x/mach-rtl83xx.h>
+#include <linux/etherdevice.h>
 
 #include "rtl83xx.h"
 

+ 1 - 0
target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/rtl930x.c

@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-only
 
 #include <asm/mach-rtl838x/mach-rtl83xx.h>
+#include <linux/etherdevice.h>
 #include <linux/inetdevice.h>
 
 #include "rtl83xx.h"

+ 1 - 0
target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/rtl931x.c

@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-only
 
 #include <asm/mach-rtl838x/mach-rtl83xx.h>
+#include <linux/etherdevice.h>
 
 #include "rtl83xx.h"
 

+ 1 - 0
target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/tc.c

@@ -2,6 +2,7 @@
 
 #include <net/dsa.h>
 #include <linux/delay.h>
+#include <linux/etherdevice.h>
 #include <linux/netdevice.h>
 #include <net/flow_offload.h>
 #include <linux/rhashtable.h>