soc: qcom: Remove depends on OF from QCOM_RPMH
authorNiklas Cassel <niklas.cassel@linaro.org>
Wed, 29 Aug 2018 07:57:20 +0000 (09:57 +0200)
committerAndy Gross <andy.gross@linaro.org>
Thu, 13 Sep 2018 21:11:36 +0000 (16:11 -0500)
QCOM_RPHM already selects ARM64, which always selects OF.

Additionally, the rpmh driver only uses linux/of.h, which has dummy
definitions for all functions, in order for code to to be able to
build without CONFIG_OF set.

Remove the superfluous depends on OF.

Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/Kconfig

index ac65716..cf4ece2 100644 (file)
@@ -94,7 +94,7 @@ config QCOM_RMTFS_MEM
 
 config QCOM_RPMH
        bool "Qualcomm RPM-Hardened (RPMH) Communication"
-       depends on ARCH_QCOM && ARM64 && OF || COMPILE_TEST
+       depends on ARCH_QCOM && ARM64 || COMPILE_TEST
        help
          Support for communication with the hardened-RPM blocks in
          Qualcomm Technologies Inc (QTI) SoCs. RPMH communication uses an