aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/clkdev.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/clkdev.h b/include/linux/clkdev.h
index 457bcb0a310a..d9a4fd028c9d 100644
--- a/include/linux/clkdev.h
+++ b/include/linux/clkdev.h
@@ -24,6 +24,13 @@ struct clk_lookup {
24 struct clk *clk; 24 struct clk *clk;
25}; 25};
26 26
27#define CLKDEV_INIT(d, n, c) \
28 { \
29 .dev_id = d, \
30 .con_id = n, \
31 .clk = c, \
32 }
33
27struct clk_lookup *clkdev_alloc(struct clk *clk, const char *con_id, 34struct clk_lookup *clkdev_alloc(struct clk *clk, const char *con_id,
28 const char *dev_fmt, ...); 35 const char *dev_fmt, ...);
29 36