aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/rtl838x.c
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2023-05-25 13:38:47 +0200
committerPetr Štetiar <ynezz@true.cz>2023-06-12 22:10:13 +0200
commit61c1b9a0f60d1668204ba2be68dd40f47ccad715 (patch)
tree0ca0bc95b4cef87badd94111597d46ab5fd1e3c4 /target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/rtl838x.c
parentfc87a8f2ec51f9d2c839b8ed537b339e2fcc7eb9 (diff)
downloadupstream-61c1b9a0f60d1668204ba2be68dd40f47ccad715.tar.gz
upstream-61c1b9a0f60d1668204ba2be68dd40f47ccad715.tar.bz2
upstream-61c1b9a0f60d1668204ba2be68dd40f47ccad715.zip
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 <oliver@schinagl.nl> (cherry picked from commit 9fb1dbb1df35911b407fa0faaa2443fbc0f0ddde)
Diffstat (limited to 'target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/rtl838x.c')
-rw-r--r--target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/rtl838x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/rtl838x.c b/target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/rtl838x.c
index 0f9c3c33a4..adff404fdd 100644
--- a/target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/rtl838x.c
+++ b/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>