[openwrt/openwrt] realtek: 6.12: add missing include
LEDE Commits
lede-commits at lists.infradead.org
Wed Jun 11 13:27:47 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/bb7e91243dbd06d7e0a8ed864230746814dcbac5
commit bb7e91243dbd06d7e0a8ed864230746814dcbac5
Author: Markus Stockhausen <markus.stockhausen at gmx.de>
AuthorDate: Thu May 29 14:22:38 2025 -0400
realtek: 6.12: add missing include
The new kernel has relocated the definition of struct platform_device.
Signed-off-by: Markus Stockhausen <markus.stockhausen at gmx.de>
Link: https://github.com/openwrt/openwrt/pull/18935
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c | 1 +
1 file changed, 1 insertion(+)
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>
More information about the lede-commits
mailing list