diff options
| author | Michael Turquette <mturquette@baylibre.com> | 2015-12-22 10:34:10 -0800 |
|---|---|---|
| committer | Michael Turquette <mturquette@baylibre.com> | 2015-12-22 11:57:35 -0800 |
| commit | b8f15e711904712e71d2aac3241f9669d0b62917 (patch) | |
| tree | e44d2f1b0fdf7068df8d52318c1e74f7e3020468 /include/linux | |
| parent | 4ef7675344d687a0ef5b0d7c0cee12da005870c0 (diff) | |
| parent | fcd5ac1a4137aea367f6a41399a15e7cef1c0841 (diff) | |
| download | linux-b8f15e711904712e71d2aac3241f9669d0b62917.tar.gz linux-b8f15e711904712e71d2aac3241f9669d0b62917.tar.bz2 linux-b8f15e711904712e71d2aac3241f9669d0b62917.zip | |
Merge commit 'fe5fa8fbd4d47f40a45fa29ee1abdb10cb061ec2' into clk-next
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/clk-provider.h | 8 | ||||
| -rw-r--r-- | include/linux/clk/ti.h | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index c56988ac63f7..1796f7d8526c 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -44,7 +44,7 @@ struct dentry; * @rate: Requested clock rate. This field will be adjusted by * clock drivers according to hardware capabilities. * @min_rate: Minimum rate imposed by clk users. - * @max_rate: Maximum rate a imposed by clk users. + * @max_rate: Maximum rate imposed by clk users. * @best_parent_rate: The best parent rate a parent can provide to fulfill the * requested constraints. * @best_parent_hw: The most appropriate parent clock that fulfills the @@ -715,8 +715,7 @@ static inline int of_clk_add_provider(struct device_node *np, { return 0; } -#define of_clk_del_provider(np) \ - { while (0); } +static inline void of_clk_del_provider(struct device_node *np) {} static inline struct clk *of_clk_src_simple_get( struct of_phandle_args *clkspec, void *data) { @@ -741,8 +740,7 @@ static inline const char *of_clk_get_parent_name(struct device_node *np, { return NULL; } -#define of_clk_init(matches) \ - { while (0); } +static inline void of_clk_init(const struct of_device_id *matches) {} #endif /* CONFIG_OF */ /* diff --git a/include/linux/clk/ti.h b/include/linux/clk/ti.h index 223be696df27..75205df29b9c 100644 --- a/include/linux/clk/ti.h +++ b/include/linux/clk/ti.h @@ -286,6 +286,7 @@ struct ti_clk_features { #define TI_CLK_DPLL_HAS_FREQSEL BIT(0) #define TI_CLK_DPLL4_DENY_REPROGRAM BIT(1) #define TI_CLK_DISABLE_CLKDM_CONTROL BIT(2) +#define TI_CLK_ERRATA_I810 BIT(3) void ti_clk_setup_features(struct ti_clk_features *features); const struct ti_clk_features *ti_clk_get_features(void); |
