From 5af97b6ff74e3ce7312b3ef533c55f73430fb7d5 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Mon, 9 May 2022 00:29:35 -0500 Subject: 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 Reviewed-by: Andre Przywara Signed-off-by: Andre Przywara --- include/clk/sunxi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/clk') diff --git a/include/clk/sunxi.h b/include/clk/sunxi.h index 65da03ee60c..640b5cfc331 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; }; -- cgit v1.2.3