diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2013-06-20 06:47:17 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-06-22 13:50:41 -0400 |
commit | 41ccf7f2d35dad9ecfe2f080e758ad0fab9ab862 (patch) | |
tree | 35dd9be34c3f6c3e19b88b797ee7e50f40b79541 | |
parent | 646572c77db7c42beb3d091915c8f97359100c47 (diff) |
clk: samsung: Add MUX_FA macro to pass flag and alias
Cpufreq driver for some Samsung platforms have not yet been designed as
a platform driver, thereby they can only access clocks with an alias
name.
For EXYNOS4210, one such clock also requires a flag to be set, hence
there is a need to create another macro that can handle both flag and
alias.
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
-rw-r--r-- | drivers/clk/samsung/clk.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/samsung/clk.h b/drivers/clk/samsung/clk.h index e4ad6ea9aa76..2f7dba20ced8 100644 --- a/drivers/clk/samsung/clk.h +++ b/drivers/clk/samsung/clk.h | |||
@@ -144,6 +144,9 @@ struct samsung_mux_clock { | |||
144 | #define MUX_F(_id, cname, pnames, o, s, w, f, mf) \ | 144 | #define MUX_F(_id, cname, pnames, o, s, w, f, mf) \ |
145 | __MUX(_id, NULL, cname, pnames, o, s, w, f, mf, NULL) | 145 | __MUX(_id, NULL, cname, pnames, o, s, w, f, mf, NULL) |
146 | 146 | ||
147 | #define MUX_FA(_id, cname, pnames, o, s, w, f, mf, a) \ | ||
148 | __MUX(_id, NULL, cname, pnames, o, s, w, f, mf, a) | ||
149 | |||
147 | /** | 150 | /** |
148 | * @id: platform specific id of the clock. | 151 | * @id: platform specific id of the clock. |
149 | * struct samsung_div_clock: information about div clock | 152 | * struct samsung_div_clock: information about div clock |