hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/crypto/qce/dma.h
....@@ -1,14 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 and
6
- * only version 2 as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope that it will be useful,
9
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
- * GNU General Public License for more details.
124 */
135
146 #ifndef _DMA_H_
....@@ -50,6 +42,7 @@
5042 void qce_dma_issue_pending(struct qce_dma_data *dma);
5143 int qce_dma_terminate_all(struct qce_dma_data *dma);
5244 struct scatterlist *
53
-qce_sgtable_add(struct sg_table *sgt, struct scatterlist *sg_add);
45
+qce_sgtable_add(struct sg_table *sgt, struct scatterlist *sg_add,
46
+ unsigned int max_len);
5447
5548 #endif /* _DMA_H_ */