summaryrefslogtreecommitdiffstats
path: root/drivers/clk/stm32/reset-stm32.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/stm32/reset-stm32.h')
-rw-r--r--drivers/clk/stm32/reset-stm32.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/clk/stm32/reset-stm32.h b/drivers/clk/stm32/reset-stm32.h
index 6eb6ea4b55..8cf1cc9be4 100644
--- a/drivers/clk/stm32/reset-stm32.h
+++ b/drivers/clk/stm32/reset-stm32.h
@@ -4,5 +4,11 @@
* Author: Gabriel Fernandez <gabriel.fernandez@foss.st.com> for STMicroelectronics.
*/
-int stm32_rcc_reset_init(struct device *dev, const struct of_device_id *match,
+struct clk_stm32_reset_data {
+ const struct reset_control_ops *ops;
+ unsigned int nr_lines;
+ u32 clear_offset;
+};
+
+int stm32_rcc_reset_init(struct device *dev, struct clk_stm32_reset_data *data,
void __iomem *base);