forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/drivers/clk/meson/meson-aoclk.h
....@@ -11,15 +11,18 @@
1111 #ifndef __MESON_AOCLK_H__
1212 #define __MESON_AOCLK_H__
1313
14
+#include <linux/clk-provider.h>
1415 #include <linux/platform_device.h>
16
+#include <linux/regmap.h>
1517 #include <linux/reset-controller.h>
18
+
1619 #include "clk-regmap.h"
1720
1821 struct meson_aoclk_data {
1922 const unsigned int reset_reg;
2023 const int num_reset;
2124 const unsigned int *reset;
22
- int num_clks;
25
+ const int num_clks;
2326 struct clk_regmap **clks;
2427 const struct clk_hw_onecell_data *hw_data;
2528 };