clk: qcom: smd-rpm_ Make __DEFINE_CLK_SMD_RPM_BRANCH_PREFIX accept flags
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Mon, 1 May 2023 12:57:11 +0000 (14:57 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 25 May 2023 02:35:26 +0000 (19:35 -0700)
commit24abad60396865caf5ff8ccfa294894617456524
tree6c2f83223fe0629f0a6f767ce8b64c085d6b5c11
parentcaa2347d0224116d5083afa670c46094e0ceeff3
clk: qcom: smd-rpm_ Make __DEFINE_CLK_SMD_RPM_BRANCH_PREFIX accept flags

In preparation for supporting keepalive clocks which can never be shut off
(as the platform would fall apart otherwise), make the
__DEFINE_CLK_SMD_RPM_BRANCH_PREFIX macro accept clock flags for the
active-only clock.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Tested-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230501-topic-rpmcc_xo_a-v1-1-93f18e47b607@linaro.org
drivers/clk/qcom/clk-smd-rpm.c