From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aqIlA-0006DR-26 for linux-mtd@lists.infradead.org; Wed, 13 Apr 2016 11:15:00 +0000 Received: by mail-lf0-x22f.google.com with SMTP id c126so64668405lfb.2 for ; Wed, 13 Apr 2016 04:14:39 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Boris Brezillon Cc: linux-mtd@lists.infradead.org, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Richard Weinberger , David Woodhouse , Brian Norris , linux-kernel@vger.kernel.org (open list) Subject: [PATCH] mtd: nand: omap2: allow compiling with COMPILE_TEST Date: Wed, 13 Apr 2016 13:14:05 +0200 Message-Id: <1460546045-31553-1-git-send-email-zajec5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This driver doesn't seem to have any compile-time arch dependencies. I was able to compile it on CONFIG_MIPS, CONFIG_ARM and CONFIG_X86_64. Signed-off-by: Rafał Miłecki --- drivers/mtd/nand/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index f05e0e9..6a9c917 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -89,7 +89,8 @@ config MTD_NAND_AMS_DELTA config MTD_NAND_OMAP2 tristate "NAND Flash device on OMAP2, OMAP3 and OMAP4" - depends on ARCH_OMAP2PLUS + depends on ARCH_OMAP2PLUS || COMPILE_TEST + depends on OF help Support for NAND flash on Texas Instruments OMAP2, OMAP3 and OMAP4 platforms. -- 1.8.4.5