All of lore.kernel.org
 help / color / mirror / Atom feed
From: Boris Brezillon <boris.brezillon@bootlin.com>
To: "Ralf Baechle" <ralf@linux-mips.org>,
	linux-mips@linux-mips.org, "Rafał Miłecki" <zajec5@gmail.com>,
	"Boris Brezillon" <boris.brezillon@bootlin.com>,
	"Richard Weinberger" <richard@nod.at>,
	"Miquel Raynal" <miquel.raynal@bootlin.com>,
	linux-mtd@lists.infradead.org
Cc: David Woodhouse <dwmw2@infradead.org>,
	Brian Norris <computersforpeace@gmail.com>,
	Marek Vasut <marek.vasut@gmail.com>,
	linux-wireless@vger.kernel.org
Subject: [PATCH 27/27] memory: jz4780-nemc: Allow selection of this driver when COMPILE_TEST=y
Date: Thu,  5 Jul 2018 11:45:22 +0200	[thread overview]
Message-ID: <20180705094522.12138-28-boris.brezillon@bootlin.com> (raw)
In-Reply-To: <20180705094522.12138-1-boris.brezillon@bootlin.com>

It just makes maintainers' life easier by allowing them to compile-test
this driver without having MACH_JZ4780 enabled.

We also need to add a dependency on HAS_IOMEM to make sure the
driver compiles correctly.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
---
 drivers/memory/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig
index 78457ab2cbc4..a642552dfdc9 100644
--- a/drivers/memory/Kconfig
+++ b/drivers/memory/Kconfig
@@ -122,7 +122,8 @@ config FSL_IFC
 config JZ4780_NEMC
 	bool "Ingenic JZ4780 SoC NEMC driver"
 	default y
-	depends on MACH_JZ4780
+	depends on MACH_JZ4780 || COMPILE_TEST
+	depends on HAS_IOMEM
 	help
 	  This driver is for the NAND/External Memory Controller (NEMC) in
 	  the Ingenic JZ4780. This controller is used to handle external
-- 
2.14.1

  parent reply	other threads:[~2018-07-05  9:45 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-05  9:44 [PATCH 00/27] mtd: rawnand: Improve compile-test coverage Boris Brezillon
2018-07-05  9:44 ` [PATCH 01/27] mtd: rawnand: gpmi: Remove useless dependency on MTD_NAND Boris Brezillon
2018-07-05  9:44 ` [PATCH 02/27] mtd: rawnand: Add 'depends on HAS_IOMEM' where missing Boris Brezillon
2018-07-05  9:44 ` [PATCH 03/27] mtd: rawnand: atmel: Allow selection of this driver when COMPILE_TEST=y Boris Brezillon
2018-07-05  9:44 ` [PATCH 04/27] mtd: rawnand: omap2: " Boris Brezillon
2018-07-05  9:45 ` [PATCH 05/27] mtd: rawnand: s3c2410: " Boris Brezillon
2018-07-07 15:32   ` Boris Brezillon
2018-07-05  9:45 ` [PATCH 06/27] mtd: rawnand: sharpsl: Remove inclusion of mach and asm headers Boris Brezillon
2018-07-05  9:45 ` [PATCH 07/27] mtd: rawnand: sharpsl: Allow selection of this driver when COMPILE_TEST=y Boris Brezillon
2018-07-05  9:45 ` [PATCH 08/27] mtd: rawnand: lpc32xx: Allow selection of these drivers " Boris Brezillon
2018-07-05  9:45 ` [PATCH 09/27] mtd: rawnand: brcmnand: Allow selection of this driver " Boris Brezillon
2018-07-05  9:45 ` [PATCH 10/27] mtd: rawnand: orion: Avoid direct inclusion of asm headers Boris Brezillon
2018-07-05  9:45 ` [PATCH 11/27] mtd: rawnand: orion: Allow selection of this driver when COMPILE_TEST=y Boris Brezillon
2018-07-05  9:45 ` [PATCH 12/27] mtd: rawnand: mxc: Avoid inclusion of asm/mach headers Boris Brezillon
2018-07-05  9:45 ` [PATCH 13/27] mtd: rawnand: mxc: Allow selection of this driver when COMPILE_TEST=y Boris Brezillon
2018-07-05  9:45 ` [PATCH 14/27] mtd: rawnand: davinci: " Boris Brezillon
2018-07-05  9:45 ` [PATCH 15/27] mtd: rawnand: sunxi: " Boris Brezillon
2018-07-05  9:45 ` [PATCH 16/27] mtd: rawnand: qcom: " Boris Brezillon
2018-07-05  9:45 ` [PATCH 17/27] mtd: rawnand: fsmc: " Boris Brezillon
2018-07-08 13:06   ` Boris Brezillon
2018-07-05  9:45 ` [PATCH 18/27] mtd: rawnand: nuc900: " Boris Brezillon
2018-07-05  9:45 ` [PATCH 19/27] memory: fsl_ifc: " Boris Brezillon
2018-07-05  9:45 ` [PATCH 20/27] mtd: rawnand: " Boris Brezillon
2018-07-05  9:45 ` [PATCH 21/27] bcma: " Boris Brezillon
2018-07-06 14:32   ` Kalle Valo
2018-07-06 14:37     ` Boris Brezillon
2018-07-05  9:45 ` [PATCH 22/27] MIPS: txx9: Move the ndfc.h header to include/linux/platform_data/txx9 Boris Brezillon
2018-07-05  9:45 ` [PATCH 23/27] mtd: rawnand: txx9ndfmc: Allow selection of this driver when COMPILE_TEST=y Boris Brezillon
2018-07-05  9:45 ` [PATCH 24/27] MIPS: jz4740: Move jz4740_nand.h header to include/linux/platform_data/jz4740 Boris Brezillon
2018-07-05  9:45 ` [PATCH 25/27] mtd: rawnand: jz4740: Allow selection of this driver when COMPILE_TEST=y Boris Brezillon
2018-07-05  9:45 ` [PATCH 26/27] mtd: rawnand: jz4780: Drop the dependency on MACH_JZ4780 Boris Brezillon
2018-07-05  9:45 ` Boris Brezillon [this message]
2018-07-05  9:49 ` [PATCH 00/27] mtd: rawnand: Improve compile-test coverage Boris Brezillon
2018-07-05 10:25 ` Geert Uytterhoeven
2018-07-06 14:40   ` Richard Weinberger
2018-07-08 21:55 ` Miquel Raynal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180705094522.12138-28-boris.brezillon@bootlin.com \
    --to=boris.brezillon@bootlin.com \
    --cc=computersforpeace@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-mips@linux-mips.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=marek.vasut@gmail.com \
    --cc=miquel.raynal@bootlin.com \
    --cc=ralf@linux-mips.org \
    --cc=richard@nod.at \
    --cc=zajec5@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.