summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom/common.h
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@codeaurora.org>2015-08-06 16:07:43 +0530
committerStephen Boyd <sboyd@codeaurora.org>2015-09-16 15:22:37 -0700
commit5e5cc241e9c448d1f6e5fdef843ab018a9947d5c (patch)
tree36f8b483cba8265e2c534467b47ac3ec797c4935 /drivers/clk/qcom/common.h
parent45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 (diff)
downloadlinux-5e5cc241e9c448d1f6e5fdef843ab018a9947d5c.tar.bz2
clk: qcom: gdsc: Prepare common clk probe to register gdscs
The common clk probe registers a clk provider and a reset controller. Update it to register a genpd provider using the gdsc data provided by each platform. Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom/common.h')
-rw-r--r--drivers/clk/qcom/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/qcom/common.h b/drivers/clk/qcom/common.h
index 7a0e73713063..2892b71fbd71 100644
--- a/drivers/clk/qcom/common.h
+++ b/drivers/clk/qcom/common.h
@@ -28,6 +28,8 @@ struct qcom_cc_desc {
size_t num_clks;
const struct qcom_reset_map *resets;
size_t num_resets;
+ struct gdsc **gdscs;
+ size_t num_gdscs;
};
extern const struct freq_tbl *qcom_find_freq(const struct freq_tbl *f,