hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/soc/ti/knav_qmss.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Keystone Navigator QMSS driver internal header
34 *
....@@ -5,15 +6,6 @@
56 * Author: Sandeep Nair <sandeep_n@ti.com>
67 * Cyril Chemparathy <cyril@ti.com>
78 * Santosh Shilimkar <santosh.shilimkar@ti.com>
8
- *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU General Public License
11
- * version 2 as published by the Free Software Foundation.
12
- *
13
- * This program is distributed in the hope that it will be useful, but
14
- * WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
- * General Public License for more details.
179 */
1810
1911 #ifndef __KNAV_QMSS_H__
....@@ -75,7 +67,7 @@
7567 u32 link_ram_size0;
7668 u32 link_ram_base1;
7769 u32 __pad2[2];
78
- u32 starvation[0];
70
+ u32 starvation[];
7971 };
8072
8173 struct knav_reg_region {
....@@ -240,14 +232,14 @@
240232 };
241233
242234 /**
243
- * struct knav_queue_inst: qmss queue instace properties
235
+ * struct knav_queue_inst: qmss queue instance properties
244236 * @descs: descriptor pointer
245237 * @desc_head, desc_tail, desc_count: descriptor counters
246238 * @acc: accumulator channel pointer
247239 * @kdev: qmss device pointer
248240 * @range: range info
249241 * @qmgr: queue manager info
250
- * @id: queue instace id
242
+ * @id: queue instance id
251243 * @irq_num: irq line number
252244 * @notify_needed: notifier needed based on queue type
253245 * @num_notifiers: total notifiers
....@@ -274,7 +266,7 @@
274266 /**
275267 * struct knav_queue: qmss queue properties
276268 * @reg_push, reg_pop, reg_peek: push, pop queue registers
277
- * @inst: qmss queue instace properties
269
+ * @inst: qmss queue instance properties
278270 * @notifier_fn: notifier function
279271 * @notifier_fn_arg: notifier function argument
280272 * @notifier_enabled: notier enabled for a give queue