diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-13 10:04:46 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-28 21:03:14 +0100 |
commit | d4aaca3647fe900a4e6fe87c1d9717c3e5292386 (patch) | |
tree | cb3c8b584c97a8d648f4200a8c4dabad1dae6ef4 /include/linux/clk.h | |
parent | 503cc1518e2b94ae16a001b8f8a5adbd4ffd8829 (diff) | |
download | barebox-d4aaca3647fe900a4e6fe87c1d9717c3e5292386.tar.gz barebox-d4aaca3647fe900a4e6fe87c1d9717c3e5292386.tar.xz |
clk: clk-divider: sync with kernel code
This updates the clk-divider to Kernel code, but without power-of-two
divider support which we do not need yet. This also adds table based
divider support to the divider.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux/clk.h')
-rw-r--r-- | include/linux/clk.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h index 2704b0f05b..71b046607f 100644 --- a/include/linux/clk.h +++ b/include/linux/clk.h @@ -240,6 +240,9 @@ struct clk_divider { const char *parent; #define CLK_DIVIDER_ONE_BASED (1 << 0) unsigned flags; + const struct clk_div_table *table; + int max_div_index; + int table_size; }; extern struct clk_ops clk_divider_ops; |