aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiang Yang <[email protected]>2022-09-07 16:04:05 +0800
committerMiquel Raynal <[email protected]>2022-09-21 10:38:47 +0200
commitba47a6ac4658f8fdccb2e3400927db5081eb7fb2 (patch)
treea07086caa1b33e9bb69131906ac68ed7a9521a9c
parentfbc00b5e746f138aa647fa8ddca5ed032195d089 (diff)
mtd: rawnand: meson: stop supporting legacy clocks
meson NFC driver only uses common clock interfaces, which triggers kernel test robot errors when using legacy clocks with HAVE_LEGACY_CLK on. Reported-by: kernel test robot <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Liang Yang <[email protected]> [[email protected]: Rephrase the commit log] Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
-rw-r--r--drivers/mtd/nand/raw/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index 43a151b4c8fc..4cd40af362de 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -390,7 +390,7 @@ config MTD_NAND_STM32_FMC2
config MTD_NAND_MESON
tristate "Support for NAND controller on Amlogic's Meson SoCs"
- depends on ARCH_MESON || COMPILE_TEST
+ depends on COMMON_CLK && (ARCH_MESON || COMPILE_TEST)
select MFD_SYSCON
help
Enables support for NAND controller on Amlogic's Meson SoCs.