diff mbox series

mtd: spear_smi: Enable compile testing

Message ID 20200928155715.14370-1-miquel.raynal@bootlin.com
State Accepted
Headers show
Series mtd: spear_smi: Enable compile testing | expand

Commit Message

Miquel Raynal Sept. 28, 2020, 3:57 p.m. UTC
This driver does not contain any architecture specific code, enable
compile testing it.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
 drivers/mtd/devices/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Miquel Raynal Oct. 2, 2020, 7:15 a.m. UTC | #1
On Mon, 2020-09-28 at 15:57:15 UTC, Miquel Raynal wrote:
> This driver does not contain any architecture specific code, enable
> compile testing it.
> 
> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

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

Miquel
diff mbox series

Patch

diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig
index f96287c4b789..0f4c2d823de8 100644
--- a/drivers/mtd/devices/Kconfig
+++ b/drivers/mtd/devices/Kconfig
@@ -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