clk: qcom: Select QCOM_GDSC with MSM_GCC_8998
authorMarc Gonzalez <marc.w.gonzalez@free.fr>
Fri, 11 Jan 2019 13:37:43 +0000 (14:37 +0100)
committerStephen Boyd <sboyd@kernel.org>
Fri, 11 Jan 2019 18:39:15 +0000 (10:39 -0800)
commit83b4c147967b20b9140e38f7b1a79258a8e9fa6f
treeed8daaaee2b2f04e6109aa6e0d4a7bc2b5d4b766
parent2137a109a5e39c2bdccfffe65230ed3fadbaac0e
clk: qcom: Select QCOM_GDSC with MSM_GCC_8998

If QCOM_GDSC is disabled, gdsc_register() returns -ENOSYS, which causes
gcc_msm8998_probe() to fail. Select QCOM_GDSC to solve the problem.

gcc-msm8998: probe of 100000.clock-controller failed with error -38

Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
Fixes: b5f5f525c547 ("clk: qcom: Add MSM8998 Global Clock Control (GCC) driver")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/Kconfig