summaryrefslogtreecommitdiffstats
path: root/include/linux/clk.h
diff options
context:
space:
mode:
authorAndrey Panov <rockford@yandex.ru>2015-03-04 23:11:34 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-05 09:11:34 +0100
commit5a3a479dae11dd16ad0b754ae798fc083db3b3aa (patch)
tree0bff605b42d302abc40ec736b383c3304d049e5c /include/linux/clk.h
parent9e3ce4eee64ff143b280efbae1582f20261a3187 (diff)
downloadbarebox-5a3a479dae11dd16ad0b754ae798fc083db3b3aa.tar.gz
barebox-5a3a479dae11dd16ad0b754ae798fc083db3b3aa.tar.xz
CLK: clk-divider: Introduce clk_divider_alloc() and *_free() routines
Signed-off-by: Andrey Panov <rockford@yandex.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux/clk.h')
-rw-r--r--include/linux/clk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h
index 258bbe3a7a..65d3e99e07 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -254,6 +254,9 @@ struct clk_divider {
extern struct clk_ops clk_divider_ops;
+struct clk *clk_divider_alloc(const char *name, const char *parent,
+ void __iomem *reg, u8 shift, u8 width, unsigned flags);
+void clk_divider_free(struct clk *clk_divider);
struct clk *clk_divider(const char *name, const char *parent,
void __iomem *reg, u8 shift, u8 width, unsigned flags);
struct clk *clk_divider_one_based(const char *name, const char *parent,