mtd: sh_flctl: enable driver compilation with COMPILE_TEST
authorLaurent Pinchart <[email protected]>
Wed, 27 Nov 2013 01:18:31 +0000 (02:18 +0100)
committerBrian Norris <[email protected]>
Fri, 3 Jan 2014 19:22:22 +0000 (11:22 -0800)
This helps increasing build testing coverage.

Cc: David Woodhouse <[email protected]>
Cc: [email protected]
Signed-off-by: Laurent Pinchart <[email protected]>
Acked-by: Simon Horman <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
drivers/mtd/nand/Kconfig

index 691f5a05ecf3e33c6d646bdf54f38535ce287a9f..a7808e6d4c711efb5436323d714f328a89c873c3 100644 (file)
@@ -458,7 +458,7 @@ config MTD_NAND_MXC
 
 config MTD_NAND_SH_FLCTL
        tristate "Support for NAND on Renesas SuperH FLCTL"
-       depends on SUPERH || ARCH_SHMOBILE
+       depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
        help
          Several Renesas SuperH CPU has FLCTL. This option enables support
          for NAND Flash using FLCTL.