]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mtd: rawnand: meson: stop supporting legacy clocks
authorLiang Yang <liang.yang@amlogic.com>
Wed, 7 Sep 2022 08:04:05 +0000 (16:04 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 21 Sep 2022 08:38:47 +0000 (10:38 +0200)
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 <lkp@intel.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Liang Yang <liang.yang@amlogic.com>
[miquel.raynal@bootlin.com: Rephrase the commit log]
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220907080405.28240-6-liang.yang@amlogic.com
drivers/mtd/nand/raw/Kconfig

index 43a151b4c8fc69400596963d5fafec38cab75a7d..4cd40af362de28ee112705cd7e6d8a2c04cd1176 100644 (file)
@@ -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.