From 1de770d5442769778c96bdac271590b44b2c7b78 Mon Sep 17 00:00:00 2001 From: Miquel Raynal Date: Thu, 3 Oct 2019 19:50:04 +0200 Subject: mtd: rename CONFIG_MTD -> CONFIG_DM_MTD CONFIG_MTD must be reserved for the MTD core. Like any other subsystem, prefix the symbol by DM when it comes to DM support. Signed-off-by: Miquel Raynal Reviewed-by: Boris Brezillon [trini: Add Kconfig files] Signed-off-by: Tom Rini --- include/flash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/flash.h') diff --git a/include/flash.h b/include/flash.h index 70ab4351995..807800b524e 100644 --- a/include/flash.h +++ b/include/flash.h @@ -44,7 +44,7 @@ typedef struct { uchar sr_supported; /* status register supported */ const char *name; /* human-readable name */ #endif -#ifdef CONFIG_MTD +#ifdef CONFIG_DM_MTD struct mtd_info *mtd; #endif #ifdef CONFIG_CFI_FLASH /* DM-specific parts */ -- cgit