From 02e9f3be51c9ec8551263ce6306c34ece5288a55 Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Sat, 10 May 2025 17:19:18 +0800 Subject: [PATCH] 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 Link: https://github.com/openwrt/openwrt/pull/18744 Signed-off-by: Robert Marko --- 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 f317c62aa30..5a02346e428 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 #include #include +#include #include #include #include -- 2.47.2