summaryrefslogtreecommitdiff
path: root/include/clk
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2022-05-09 00:29:35 -0500
committerAndre Przywara <andre.przywara@arm.com>2022-07-18 09:37:50 +0100
commit5af97b6ff74e3ce7312b3ef533c55f73430fb7d5 (patch)
treeb8f8c6f17decb2ed10f31cf4038a75ea1fbe7563 /include/clk
parent46fa23f9eecd0fc32215a194e7a7f5f5abe67cdc (diff)
downloadu-boot-5af97b6ff74e3ce7312b3ef533c55f73430fb7d5.tar.gz
u-boot-5af97b6ff74e3ce7312b3ef533c55f73430fb7d5.tar.bz2
u-boot-5af97b6ff74e3ce7312b3ef533c55f73430fb7d5.zip
clk: sunxi: Convert driver private data to platform data
All of the driver private data should really be platform data since it is determined statically (selected by the compatible string or extracted from the devicetree). Move everything to platform data, so it can be provided when binding the driver. This is useful for SPL, or for instantiating the driver as part of an MFD. Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'include/clk')
-rw-r--r--include/clk/sunxi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clk/sunxi.h b/include/clk/sunxi.h
index 65da03ee60..640b5cfc33 100644
--- a/include/clk/sunxi.h
+++ b/include/clk/sunxi.h
@@ -75,12 +75,12 @@ struct ccu_desc {
};
/**
- * struct ccu_priv - sunxi clock control unit
+ * struct ccu_plat - sunxi clock control unit platform data
*
* @base: base address
* @desc: ccu descriptor
*/
-struct ccu_priv {
+struct ccu_plat {
void *base;
const struct ccu_desc *desc;
};