aboutsummaryrefslogtreecommitdiff
path: root/include/flash.h
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2019-10-03 19:50:04 +0200
committerTom Rini <trini@konsulko.com>2019-12-03 23:04:10 -0500
commit1de770d5442769778c96bdac271590b44b2c7b78 (patch)
treeb35b1b0fae01ea4af15f852dd16d8b01c76ea5ee /include/flash.h
parent88718be3001055fa2801a44ab10570279b3f2cb7 (diff)
downloadu-boot-1de770d5442769778c96bdac271590b44b2c7b78.zip
u-boot-1de770d5442769778c96bdac271590b44b2c7b78.tar.gz
u-boot-1de770d5442769778c96bdac271590b44b2c7b78.tar.bz2
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 <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com> [trini: Add Kconfig files] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/flash.h')
-rw-r--r--include/flash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/flash.h b/include/flash.h
index 70ab435..807800b 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 */