hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/linux/of_clk.h
....@@ -11,17 +11,17 @@
1111
1212 #if defined(CONFIG_COMMON_CLK) && defined(CONFIG_OF)
1313
14
-unsigned int of_clk_get_parent_count(struct device_node *np);
15
-const char *of_clk_get_parent_name(struct device_node *np, int index);
14
+unsigned int of_clk_get_parent_count(const struct device_node *np);
15
+const char *of_clk_get_parent_name(const struct device_node *np, int index);
1616 void of_clk_init(const struct of_device_id *matches);
1717
1818 #else /* !CONFIG_COMMON_CLK || !CONFIG_OF */
1919
20
-static inline unsigned int of_clk_get_parent_count(struct device_node *np)
20
+static inline unsigned int of_clk_get_parent_count(const struct device_node *np)
2121 {
2222 return 0;
2323 }
24
-static inline const char *of_clk_get_parent_name(struct device_node *np,
24
+static inline const char *of_clk_get_parent_name(const struct device_node *np,
2525 int index)
2626 {
2727 return NULL;