diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-10-16 16:21:44 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-10-17 10:44:25 -0700 |
commit | b2e39dc0bb8107341f6f704472e79fd32d0cef25 (patch) | |
tree | e197bd2e3b19172e19da203f0a96eba3dede29e5 /drivers/clk/at91/clk-slow.c | |
parent | c1e4580a1d0ff510d56268c1fc7fcfeec366fe70 (diff) | |
download | linux-b2e39dc0bb8107341f6f704472e79fd32d0cef25.tar.gz |
clk: at91: allow clock registration from C code
Remove static keyword to allow functions to be used from other units. Also
move some struct and function declarations to pmc.h
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
[sboyd@kernel.org: Include pmc.h]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/at91/clk-slow.c')
-rw-r--r-- | drivers/clk/at91/clk-slow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/clk-slow.c b/drivers/clk/at91/clk-slow.c index 560a8b9abf93..a890132db68f 100644 --- a/drivers/clk/at91/clk-slow.c +++ b/drivers/clk/at91/clk-slow.c @@ -40,7 +40,7 @@ static const struct clk_ops sam9260_slow_ops = { .get_parent = clk_sam9260_slow_get_parent, }; -static struct clk_hw * __init +struct clk_hw * __init at91_clk_register_sam9260_slow(struct regmap *regmap, const char *name, const char **parent_names, |