diff options
author | Govind Singh <govinds@codeaurora.org> | 2019-07-26 12:23:28 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-08-08 18:20:01 +0300 |
commit | 75e0a1e301913b2b5627a69818f2521f48e6be07 (patch) | |
tree | 5bb3ea3222bdf3cb4a2df42dc880413d28f18b68 /drivers/clk/qcom/common.h | |
parent | 7d0c76bdf227774154e191636be739d7dc0247ba (diff) | |
download | linux-75e0a1e301913b2b5627a69818f2521f48e6be07.tar.xz |
clk: qcom: define probe by index API as common API
Extend the probe by index API in common code to be used
by other qcom clock controller.
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/qcom/common.h')
-rw-r--r-- | drivers/clk/qcom/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/qcom/common.h b/drivers/clk/qcom/common.h index 1e2a8bdac55a..bb39a7e106d8 100644 --- a/drivers/clk/qcom/common.h +++ b/drivers/clk/qcom/common.h @@ -61,5 +61,7 @@ extern int qcom_cc_really_probe(struct platform_device *pdev, struct regmap *regmap); extern int qcom_cc_probe(struct platform_device *pdev, const struct qcom_cc_desc *desc); +extern int qcom_cc_probe_by_index(struct platform_device *pdev, int index, + const struct qcom_cc_desc *desc); #endif |