diff options
| author | Shiji Yang | 2025-05-10 09:19:18 +0000 |
|---|---|---|
| committer | Robert Marko | 2025-05-13 20:02:20 +0000 |
| commit | 02e9f3be51c9ec8551263ce6306c34ece5288a55 (patch) | |
| tree | 450c78d3add81918a192c5a8ae9ab3b6155a09e8 | |
| parent | 491764f0f07dc601e1671940d3d3ae41801ae736 (diff) | |
| download | openwrt-02e9f3be51c9ec8551263ce6306c34ece5288a55.tar.gz | |
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@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18744
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | package/kernel/lantiq/ltq-atm/src/ltq_atm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/kernel/lantiq/ltq-atm/src/ltq_atm.c b/package/kernel/lantiq/ltq-atm/src/ltq_atm.c index f317c62aa3..5a02346e42 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> |