hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/reset/sti/reset-syscfg.c
....@@ -1,13 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (C) 2013 STMicroelectronics Limited
34 * Author: Stephen Gallimore <stephen.gallimore@st.com>
45 *
56 * Inspired by mach-imx/src.c
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License as published by
9
- * the Free Software Foundation; either version 2 of the License, or
10
- * (at your option) any later version.
117 */
128 #include <linux/kernel.h>
139 #include <linux/platform_device.h>
....@@ -21,7 +17,7 @@
2117 #include "reset-syscfg.h"
2218
2319 /**
24
- * Reset channel regmap configuration
20
+ * struct syscfg_reset_channel - Reset channel regmap configuration
2521 *
2622 * @reset: regmap field for the channel's reset bit.
2723 * @ack: regmap field for the channel's ack bit (optional).
....@@ -32,8 +28,9 @@
3228 };
3329
3430 /**
35
- * A reset controller which groups together a set of related reset bits, which
36
- * may be located in different system configuration registers.
31
+ * struct syscfg_reset_controller - A reset controller which groups together
32
+ * a set of related reset bits, which may be located in different system
33
+ * configuration registers.
3734 *
3835 * @rst: base reset controller structure.
3936 * @active_low: are the resets in this controller active low, i.e. clearing