All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtd: rawnand: ingenic: Add dependency on MIPS || COMPILE_TEST
@ 2020-03-02 18:45 ` Paul Cercueil
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Cercueil @ 2020-03-02 18:45 UTC (permalink / raw)
  To: Miquel Raynal
  Cc: Harvey Hunt, Richard Weinberger, linux-mtd, linux-kernel, Paul Cercueil

This driver has no arch-specific instructions but is only ever useful
on MIPS; so disable this driver if we're not compiling for MIPS, unless
the driver is compile-tested.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
 drivers/mtd/nand/raw/ingenic/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/nand/raw/ingenic/Kconfig b/drivers/mtd/nand/raw/ingenic/Kconfig
index e30feb56b650..96c5ae8b1bbc 100644
--- a/drivers/mtd/nand/raw/ingenic/Kconfig
+++ b/drivers/mtd/nand/raw/ingenic/Kconfig
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config MTD_NAND_JZ4780
 	tristate "JZ4780 NAND controller"
+	depends on MIPS || COMPILE_TEST
 	depends on JZ4780_NEMC
 	help
 	  Enables support for NAND Flash connected to the NEMC on JZ4780 SoC
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] mtd: rawnand: ingenic: Add dependency on MIPS || COMPILE_TEST
@ 2020-03-02 18:45 ` Paul Cercueil
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Cercueil @ 2020-03-02 18:45 UTC (permalink / raw)
  To: Miquel Raynal
  Cc: Paul Cercueil, Richard Weinberger, Harvey Hunt, linux-mtd, linux-kernel

This driver has no arch-specific instructions but is only ever useful
on MIPS; so disable this driver if we're not compiling for MIPS, unless
the driver is compile-tested.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
 drivers/mtd/nand/raw/ingenic/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/nand/raw/ingenic/Kconfig b/drivers/mtd/nand/raw/ingenic/Kconfig
index e30feb56b650..96c5ae8b1bbc 100644
--- a/drivers/mtd/nand/raw/ingenic/Kconfig
+++ b/drivers/mtd/nand/raw/ingenic/Kconfig
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config MTD_NAND_JZ4780
 	tristate "JZ4780 NAND controller"
+	depends on MIPS || COMPILE_TEST
 	depends on JZ4780_NEMC
 	help
 	  Enables support for NAND Flash connected to the NEMC on JZ4780 SoC
-- 
2.25.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] mtd: rawnand: ingenic: Add dependency on MIPS || COMPILE_TEST
  2020-03-02 18:45 ` Paul Cercueil
@ 2020-03-10 18:30   ` Miquel Raynal
  -1 siblings, 0 replies; 4+ messages in thread
From: Miquel Raynal @ 2020-03-10 18:30 UTC (permalink / raw)
  To: Paul Cercueil, Miquel Raynal
  Cc: Richard Weinberger, Harvey Hunt, linux-mtd, linux-kernel

On Mon, 2020-03-02 at 18:45:09 UTC, Paul Cercueil wrote:
> This driver has no arch-specific instructions but is only ever useful
> on MIPS; so disable this driver if we're not compiling for MIPS, unless
> the driver is compile-tested.
> 
> Signed-off-by: Paul Cercueil <paul@crapouillou.net>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] mtd: rawnand: ingenic: Add dependency on MIPS || COMPILE_TEST
@ 2020-03-10 18:30   ` Miquel Raynal
  0 siblings, 0 replies; 4+ messages in thread
From: Miquel Raynal @ 2020-03-10 18:30 UTC (permalink / raw)
  To: Paul Cercueil, Miquel Raynal
  Cc: Richard Weinberger, Harvey Hunt, linux-mtd, linux-kernel

On Mon, 2020-03-02 at 18:45:09 UTC, Paul Cercueil wrote:
> This driver has no arch-specific instructions but is only ever useful
> on MIPS; so disable this driver if we're not compiling for MIPS, unless
> the driver is compile-tested.
> 
> Signed-off-by: Paul Cercueil <paul@crapouillou.net>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-10 18:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-02 18:45 [PATCH] mtd: rawnand: ingenic: Add dependency on MIPS || COMPILE_TEST Paul Cercueil
2020-03-02 18:45 ` Paul Cercueil
2020-03-10 18:30 ` Miquel Raynal
2020-03-10 18:30   ` Miquel Raynal

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.