projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af8fc7c
)
ltq-atm: add missing header mod_devicetable.h
author
Shiji Yang
<
[email protected]
>
Sat, 10 May 2025 09:19:18 +0000
(17:19 +0800)
committer
Hauke Mehrtens
<
[email protected]
>
Sat, 18 Oct 2025 12:21:01 +0000
(14:21 +0200)
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 <
[email protected]
>
Link:
https://github.com/openwrt/openwrt/pull/18744
Signed-off-by: Robert Marko <
[email protected]
>
(cherry picked from commit
02e9f3be51c9ec8551263ce6306c34ece5288a55
)
Signed-off-by: Nora Matthias Schiffer <
[email protected]
>
Link:
https://github.com/openwrt/openwrt/pull/20440
Signed-off-by: Hauke Mehrtens <
[email protected]
>
package/kernel/lantiq/ltq-atm/src/ltq_atm.c
patch
|
blob
|
history
diff --git
a/package/kernel/lantiq/ltq-atm/src/ltq_atm.c
b/package/kernel/lantiq/ltq-atm/src/ltq_atm.c
index dc2361be75e15c0275afd0b169e20e68ff50b768..3bc9a0769dfe7a59dbff99fd907e83b895827241 100644
(file)
--- 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>