diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2016-11-29 07:44:05 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-11-29 07:44:04 -0800 |
| commit | 925ce43342c7dfa66b55f2deb7e489783fede412 (patch) | |
| tree | c96c1dc8312023ae3a4ca7454b7d381d3388c2b8 /include/linux | |
| parent | 66a95af435be3e271806f3554488d95501cec2aa (diff) | |
| parent | 077d50e6f6edc8ae06c5f0d11e795901218ac534 (diff) | |
Merge "clk: Provide OF helper to mark clocks as CRITICAL"
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/clk-provider.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index 83e9c6e23f2f..aed90a4902c7 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -788,7 +788,8 @@ int of_clk_get_parent_count(struct device_node *np); int of_clk_parent_fill(struct device_node *np, const char **parents, unsigned int size); const char *of_clk_get_parent_name(struct device_node *np, int index); - +int of_clk_detect_critical(struct device_node *np, int index, + unsigned long *flags); void of_clk_init(const struct of_device_id *matches); #else /* !CONFIG_OF */ @@ -826,6 +827,13 @@ static inline const char *of_clk_get_parent_name(struct device_node *np, { return NULL; } + +static inline int of_clk_detect_critical(struct device_node *np, int index, + unsigned long *flags) +{ + return 0; +} + #define of_clk_init(matches) \ { while (0); } #endif /* CONFIG_OF */ |
