clk: imx: fix Kconfig warning for i.MX SCU clk
authorArnd Bergmann <arnd@arndb.de>
Wed, 30 Dec 2020 15:52:25 +0000 (16:52 +0100)
committerStephen Boyd <sboyd@kernel.org>
Tue, 12 Jan 2021 19:25:54 +0000 (11:25 -0800)
commit73f6b7ed9835ad9f953aebd60dd720aabc487b81
tree1a3817f8c06a5b827e0642f2b32d90476080d07c
parent98829137a6a04785c8812670a7fa16d7dd59f05a
clk: imx: fix Kconfig warning for i.MX SCU clk

A previous patch introduced a harmless randconfig warning:

WARNING: unmet direct dependencies detected for MXC_CLK_SCU
  Depends on [n]: COMMON_CLK [=y] && ARCH_MXC [=n] && IMX_SCU [=y] && HAVE_ARM_SMCCC [=y]
  Selected by [m]:
  - CLK_IMX8QXP [=m] && COMMON_CLK [=y] && (ARCH_MXC [=n] && ARM64 [=y] || COMPILE_TEST [=y]) && IMX_SCU [=y] && HAVE_ARM_SMCCC [=y]

Since the symbol is now hidden and only selected by other symbols,
just remove the dependencies and require the other drivers to
get it right.

Fixes: 6247e31b7530 ("clk: imx: scu: fix MXC_CLK_SCU module build break")
Reported-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20201230155244.981757-1-arnd@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/Kconfig