mtd: sh_flctl: enable driver compilation with COMPILE_TEST

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Jan 28 00:59:03 EST 2014


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=6bcda8a71080b8fa35e07a3339b2d79ebcfa4c33
Commit:     6bcda8a71080b8fa35e07a3339b2d79ebcfa4c33
Parent:     6e14a61d412eb87ef7bdcec8b08a95bead771a78
Author:     Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
AuthorDate: Wed Nov 27 02:18:31 2013 +0100
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Fri Jan 3 11:22:22 2014 -0800

    mtd: sh_flctl: enable driver compilation with COMPILE_TEST
    
    This helps increasing build testing coverage.
    
    Cc: David Woodhouse <dwmw2 at infradead.org>
    Cc: linux-mtd at lists.infradead.org
    Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
    Acked-by: Simon Horman <horms at verge.net.au>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/nand/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 691f5a0..a7808e6 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -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.



More information about the linux-mtd-cvs mailing list