mtd: rawnand: ingenic: Add dependency on MIPS || COMPILE_TEST
authorPaul Cercueil <paul@crapouillou.net>
Mon, 2 Mar 2020 18:45:09 +0000 (15:45 -0300)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 11 Mar 2020 15:17:55 +0000 (16:17 +0100)
commite015d72f321e8b54aa3aef680e85dcd87f912703
tree10e68b01370be4ead6fbeb6ed6dd0b1af8097f30
parentb35f79aa461e965514e7d437c6704679552f4818
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
drivers/mtd/nand/raw/ingenic/Kconfig