summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiji Yang2025-05-10 09:19:19 +0000
committerHauke Mehrtens2025-10-18 12:21:01 +0000
commite52c85ee5d484964124d9375c3d4a818bdc319d5 (patch)
treedc87e15e82bb430f68829cf0240ccbabe14464aa
parent3fd6351335d55b84b886276cd224d834795a9213 (diff)
downloadopenwrt-e52c85ee5d484964124d9375c3d4a818bdc319d5.tar.gz
ltq-vmmc: fix unknown type name errors
Include missing header "drv_vmmc_api.h" to fix the compilation errors. Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/18744 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit 1f909e9f6d839939c2c7e6f212077d3fc0a265e3) Signed-off-by: Nora Matthias Schiffer <neocturne@universe-factory.net> Link: https://github.com/openwrt/openwrt/pull/20440 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--package/kernel/lantiq/ltq-vmmc/patches/607-fix-unknown-type-name-errors.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/kernel/lantiq/ltq-vmmc/patches/607-fix-unknown-type-name-errors.patch b/package/kernel/lantiq/ltq-vmmc/patches/607-fix-unknown-type-name-errors.patch
new file mode 100644
index 0000000000..4e1ad1b5eb
--- /dev/null
+++ b/package/kernel/lantiq/ltq-vmmc/patches/607-fix-unknown-type-name-errors.patch
@@ -0,0 +1,28 @@
+From: Shiji Yang <yangshiji66@outlook.com>
+Date: Fri, 9 May 2025 01:31:44 +0800
+Subject: [PATCH] fix unknown type name errors
+
+Fix compilation errors:
+
+/home/db/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/drv_vmmc-1.9.0/src/drv_vmmc_sig.h:41:45: error: unknown type name 'IFX_TAPI_DRV_CTX_SIG_t'
+ 41 | extern IFX_void_t VMMC_SIG_Func_Register (IFX_TAPI_DRV_CTX_SIG_t *pSig);
+ | ^~~~~~~~~~~~~~~~~~~~~~
+/home/db/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/drv_vmmc-1.9.0/src/drv_vmmc_sig.h:43:54: error: unknown type name 'VMMC_CHANNEL'
+ 43 | extern IFX_int32_t VMMC_SIG_Allocate_Ch_Structures (VMMC_CHANNEL *pCh);
+ | ^~~~~~~~~~~~
+
+Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
+---
+ src/drv_vmmc_sig.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/src/drv_vmmc_sig.h
++++ b/src/drv_vmmc_sig.h
+@@ -20,6 +20,7 @@
+ /* ============================= */
+ /* Includes */
+ /* ============================= */
++#include "drv_vmmc_api.h"
+ #include "ifx_types.h"
+
+ /* ============================= */