From cca19c4a71013bb95a4df23722a86089cb87c9a2 Mon Sep 17 00:00:00 2001 From: Padmavathi Venna Date: Thu, 13 Oct 2011 12:56:32 +0100 Subject: [PATCH] --- yaml --- r: 269442 b: refs/heads/master c: 196a57c2749119be4732cc2b2adb8aafcb4fcb14 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/clkdev.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 395d7e9dbcfa..736013ef8da4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7ff6bcf048e6a9849ea0b44269fa4c1c72869db2 +refs/heads/master: 196a57c2749119be4732cc2b2adb8aafcb4fcb14 diff --git a/trunk/include/linux/clkdev.h b/trunk/include/linux/clkdev.h index 457bcb0a310a..d9a4fd028c9d 100644 --- a/trunk/include/linux/clkdev.h +++ b/trunk/include/linux/clkdev.h @@ -24,6 +24,13 @@ struct clk_lookup { struct clk *clk; }; +#define CLKDEV_INIT(d, n, c) \ + { \ + .dev_id = d, \ + .con_id = n, \ + .clk = c, \ + } + struct clk_lookup *clkdev_alloc(struct clk *clk, const char *con_id, const char *dev_fmt, ...);