mtd: spear_smi: Enable compile testing
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 28 Sep 2020 15:57:15 +0000 (17:57 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 2 Oct 2020 07:09:08 +0000 (09:09 +0200)
This driver does not contain any architecture specific code, enable
compile testing it.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200928155715.14370-1-miquel.raynal@bootlin.com
drivers/mtd/devices/Kconfig

index f96287c..0f4c2d8 100644 (file)
@@ -91,7 +91,7 @@ config MTD_MCHP23K256
 
 config MTD_SPEAR_SMI
        tristate "SPEAR MTD NOR Support through SMI controller"
-       depends on PLAT_SPEAR
+       depends on PLAT_SPEAR || COMPILE_TEST
        default y
        help
          This enable SNOR support on SPEAR platforms using SMI controller