mtd: nand: Confine MTD_NAND_SH_FLCTL to SUPERH
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 8 Dec 2015 17:40:59 +0000 (18:40 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 10 Dec 2015 02:18:05 +0000 (18:18 -0800)
As of commit a521422ea4ae6128 ("ARM: shmobile: mackerel: Remove Legacy C
board code"), the Renesas SuperH FLCTL driver is no longer used on ARM
SH-Mobile SoCs. Restrict the dependencies, unless compile-testing.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/Kconfig

index 289664089cf32ce9770baefba951e089f0681a11..6c71f623a932be674520c7f66dd4710f84eb1768 100644 (file)
@@ -480,7 +480,7 @@ config MTD_NAND_MXC
 
 config MTD_NAND_SH_FLCTL
        tristate "Support for NAND on Renesas SuperH FLCTL"
-       depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
+       depends on SUPERH || COMPILE_TEST
        depends on HAS_IOMEM
        depends on HAS_DMA
        help