forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/dma/qcom/hidma.h
....@@ -1,16 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Qualcomm Technologies HIDMA data structures
34 *
45 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 and
8
- * only version 2 as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
146 */
157
168 #ifndef QCOM_HIDMA_H
....@@ -101,8 +93,6 @@
10193 * It is used by the DMA complete notification to
10294 * locate the descriptor that initiated the transfer.
10395 */
104
- struct dentry *debugfs;
105
- struct dentry *stats;
10696 struct hidma_dev *dmadev;
10797 struct hidma_desc *running;
10898
....@@ -134,7 +124,6 @@
134124 struct dma_device ddev;
135125
136126 struct dentry *debugfs;
137
- struct dentry *stats;
138127
139128 /* sysfs entry for the channel id */
140129 struct device_attribute *chid_attrs;
....@@ -166,6 +155,6 @@
166155 irqreturn_t hidma_ll_inthandler_msi(int irq, void *arg, int cause);
167156 void hidma_cleanup_pending_tre(struct hidma_lldev *llhndl, u8 err_info,
168157 u8 err_code);
169
-int hidma_debug_init(struct hidma_dev *dmadev);
158
+void hidma_debug_init(struct hidma_dev *dmadev);
170159 void hidma_debug_uninit(struct hidma_dev *dmadev);
171160 #endif