[openwrt/openwrt] ltq-atm: add missing header mod_devicetable.h
LEDE Commits
lede-commits at lists.infradead.org
Sat Oct 18 05:22:37 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/37af07700a691d84c96a7adf412769eb7d0cac6b
commit 37af07700a691d84c96a7adf412769eb7d0cac6b
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Sat May 10 17:19:18 2025 +0800
ltq-atm: add missing header mod_devicetable.h
fix undefined type error:
/home/db/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/ltq-atm-vr9/ltq-atm/ltq_atm.c:1776:43: error: invalid use of undefined type 'const struct of_device_id'
1776 | ops = (struct ltq_atm_ops *) match->data;
| ^~
Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18744
Signed-off-by: Robert Marko <robimarko at gmail.com>
(cherry picked from commit 02e9f3be51c9ec8551263ce6306c34ece5288a55)
Signed-off-by: Nora Matthias Schiffer <neocturne at universe-factory.net>
Link: https://github.com/openwrt/openwrt/pull/20440
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/kernel/lantiq/ltq-atm/src/ltq_atm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/kernel/lantiq/ltq-atm/src/ltq_atm.c b/package/kernel/lantiq/ltq-atm/src/ltq_atm.c
index dc2361be75..3bc9a0769d 100644
--- a/package/kernel/lantiq/ltq-atm/src/ltq_atm.c
+++ b/package/kernel/lantiq/ltq-atm/src/ltq_atm.c
@@ -36,6 +36,7 @@
#include <linux/init.h>
#include <linux/ioctl.h>
#include <linux/atmdev.h>
+#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>
#include <linux/of_device.h>
#include <linux/atm.h>
More information about the lede-commits
mailing list