.. | .. |
---|
11 | 11 | |
---|
12 | 12 | #if defined(CONFIG_COMMON_CLK) && defined(CONFIG_OF) |
---|
13 | 13 | |
---|
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); |
---|
16 | 16 | void of_clk_init(const struct of_device_id *matches); |
---|
17 | 17 | |
---|
18 | 18 | #else /* !CONFIG_COMMON_CLK || !CONFIG_OF */ |
---|
19 | 19 | |
---|
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) |
---|
21 | 21 | { |
---|
22 | 22 | return 0; |
---|
23 | 23 | } |
---|
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, |
---|
25 | 25 | int index) |
---|
26 | 26 | { |
---|
27 | 27 | return NULL; |
---|