summaryrefslogtreecommitdiff
path: root/include/clk/sunxi.h
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2022-05-09 00:29:37 -0500
committerAndre Przywara <andre.przywara@arm.com>2022-07-18 09:37:50 +0100
commit66391263f8484aae41cae80753f31c0edc6138af (patch)
treefca2526eaa4f994ea299eb0a8e057b88532d8bfa /include/clk/sunxi.h
parent3fb1988aad29185409a9e05a1111b7e2b7e5f8fc (diff)
reset: sunxi: Reuse the platform data from the clock driver
The clock and reset drivers use the exact same platform data. Simplify them by sharing the object. This is safe because the parent device (the clock device) always gets its driver model callbacks run first. Signed-off-by: Samuel Holland <samuel@sholland.org> Acked-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'include/clk/sunxi.h')
-rw-r--r--include/clk/sunxi.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/clk/sunxi.h b/include/clk/sunxi.h
index 640b5cfc331..c298195c51e 100644
--- a/include/clk/sunxi.h
+++ b/include/clk/sunxi.h
@@ -87,12 +87,4 @@ struct ccu_plat {
extern struct clk_ops sunxi_clk_ops;
-/**
- * sunxi_reset_bind() - reset binding
- *
- * @dev: reset device
- * Return: 0 success, or error value
- */
-int sunxi_reset_bind(struct udevice *dev);
-
#endif /* _CLK_SUNXI_H */