Skip to content

Commit e015d72

Browse files
pcercueimiquelraynal
authored andcommitted
mtd: rawnand: ingenic: Add dependency on MIPS || COMPILE_TEST
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> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20200302184509.10666-1-paul@crapouillou.net
1 parent b35f79a commit e015d72

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • drivers/mtd/nand/raw/ingenic

‎drivers/mtd/nand/raw/ingenic/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
config MTD_NAND_JZ4780
33
tristate "JZ4780 NAND controller"
4+
depends on MIPS || COMPILE_TEST
45
depends on JZ4780_NEMC
56
help
67
Enables support for NAND Flash connected to the NEMC on JZ4780 SoC

0 commit comments

Comments
 (0)