diff options
Diffstat (limited to 'arch/arm/common/clkdev.c')
-rw-r--r-- | arch/arm/common/clkdev.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/common/clkdev.c b/arch/arm/common/clkdev.c index aae5bc01acc8..446b696196e3 100644 --- a/arch/arm/common/clkdev.c +++ b/arch/arm/common/clkdev.c | |||
@@ -99,6 +99,16 @@ void clkdev_add(struct clk_lookup *cl) | |||
99 | } | 99 | } |
100 | EXPORT_SYMBOL(clkdev_add); | 100 | EXPORT_SYMBOL(clkdev_add); |
101 | 101 | ||
102 | void __init clkdev_add_table(struct clk_lookup *cl, size_t num) | ||
103 | { | ||
104 | mutex_lock(&clocks_mutex); | ||
105 | while (num--) { | ||
106 | list_add_tail(&cl->node, &clocks); | ||
107 | cl++; | ||
108 | } | ||
109 | mutex_unlock(&clocks_mutex); | ||
110 | } | ||
111 | |||
102 | #define MAX_DEV_ID 20 | 112 | #define MAX_DEV_ID 20 |
103 | #define MAX_CON_ID 16 | 113 | #define MAX_CON_ID 16 |
104 | 114 | ||