| .. | .. | 
|---|
| 4 | 4 | * Author: Jerome Brunet <jbrunet@baylibre.com> | 
|---|
| 5 | 5 | */ | 
|---|
| 6 | 6 |  | 
|---|
|  | 7 | +#include <linux/module.h> | 
|---|
| 7 | 8 | #include "clk-regmap.h" | 
|---|
| 8 | 9 |  | 
|---|
| 9 | 10 | static int clk_regmap_gate_endisable(struct clk_hw *hw, int enable) | 
|---|
| .. | .. | 
|---|
| 49 | 50 | .is_enabled = clk_regmap_gate_is_enabled, | 
|---|
| 50 | 51 | }; | 
|---|
| 51 | 52 | EXPORT_SYMBOL_GPL(clk_regmap_gate_ops); | 
|---|
|  | 53 | + | 
|---|
|  | 54 | +const struct clk_ops clk_regmap_gate_ro_ops = { | 
|---|
|  | 55 | +	.is_enabled = clk_regmap_gate_is_enabled, | 
|---|
|  | 56 | +}; | 
|---|
|  | 57 | +EXPORT_SYMBOL_GPL(clk_regmap_gate_ro_ops); | 
|---|
| 52 | 58 |  | 
|---|
| 53 | 59 | static unsigned long clk_regmap_div_recalc_rate(struct clk_hw *hw, | 
|---|
| 54 | 60 | unsigned long prate) | 
|---|
| .. | .. | 
|---|
| 175 | 181 | .get_parent = clk_regmap_mux_get_parent, | 
|---|
| 176 | 182 | }; | 
|---|
| 177 | 183 | EXPORT_SYMBOL_GPL(clk_regmap_mux_ro_ops); | 
|---|
|  | 184 | + | 
|---|
|  | 185 | +MODULE_DESCRIPTION("Amlogic regmap backed clock driver"); | 
|---|
|  | 186 | +MODULE_AUTHOR("Jerome Brunet <jbrunet@baylibre.com>"); | 
|---|
|  | 187 | +MODULE_LICENSE("GPL v2"); | 
|---|