Message ID | 1317064038-32428-1-git-send-email-thomas.abraham@linaro.org |
---|---|
State | New |
Headers | show |
diff --git a/include/linux/clkdev.h b/include/linux/clkdev.h index 457bcb0..13ffbb8 100644 --- a/include/linux/clkdev.h +++ b/include/linux/clkdev.h @@ -24,6 +24,13 @@ struct clk_lookup { struct clk *clk; }; +#define CLKDEV_INIT(dev, con, ck) \ + { \ + .dev_id = dev, \ + .con_id = con, \ + .clk = ck, \ + } + struct clk_lookup *clkdev_alloc(struct clk *clk, const char *con_id, const char *dev_fmt, ...);