summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Stockhausen2025-05-29 18:22:38 +0000
committerRobert Marko2025-06-11 20:27:22 +0000
commitbb7e91243dbd06d7e0a8ed864230746814dcbac5 (patch)
tree4c6fc3f6064983383074c375dfa49774a7ca6296
parent22beb4fbc4a923dd84b79bb29631f0c486319d55 (diff)
downloadopenwrt-bb7e91243dbd06d7e0a8ed864230746814dcbac5.tar.gz
realtek: 6.12: add missing include
The new kernel has relocated the definition of struct platform_device. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: https://github.com/openwrt/openwrt/pull/18935 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c b/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c
index 876ae4fd9b..9aa847d9c4 100644
--- a/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c
+++ b/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c
@@ -9,6 +9,7 @@
#include <linux/etherdevice.h>
#include <linux/if_vlan.h>
#include <linux/inetdevice.h>
+#include <linux/platform_device.h>
#include <linux/rhashtable.h>
#include <linux/of_net.h>
#include <asm/mach-rtl838x/mach-rtl83xx.h>