From bedbef8ad3e75a304af6361af235302bcc61d06b Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 14 May 2024 06:39:01 +0000 Subject: [PATCH] 修改内核路径 --- kernel/include/linux/dmaengine.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/include/linux/dmaengine.h b/kernel/include/linux/dmaengine.h index 08537ef..875d47d 100644 --- a/kernel/include/linux/dmaengine.h +++ b/kernel/include/linux/dmaengine.h @@ -145,6 +145,7 @@ * Otherwise, destination is filled contiguously (icg ignored). * Ignored if dst_inc is false. * @numf: Number of frames in this template. + * @nump: Number of period frames in this template. * @frame_size: Number of chunks in a frame i.e, size of sgl[]. * @sgl: Array of {chunk,icg} pairs that make up a frame. */ @@ -157,6 +158,9 @@ bool src_sgl; bool dst_sgl; size_t numf; +#ifdef CONFIG_NO_GKI + size_t nump; +#endif size_t frame_size; struct data_chunk sgl[]; }; @@ -449,10 +453,6 @@ unsigned int slave_id; void *peripheral_config; size_t peripheral_size; -#ifdef CONFIG_NO_GKI - unsigned int src_interlace_size; - unsigned int dst_interlace_size; -#endif }; /** -- Gitblit v1.6.2