realtek: 6.12: add missing include
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Thu, 29 May 2025 18:22:38 +0000 (14:22 -0400)
committerRobert Marko <robimarko@gmail.com>
Wed, 11 Jun 2025 20:27:22 +0000 (22:27 +0200)
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>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c

index 876ae4fd9b4d225d1ac4d84738a27b0af5201e31..9aa847d9c4666ccc97245a0ff75275578a4aadbf 100644 (file)
@@ -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>