diff options
| author | Miquel Raynal <[email protected]> | 2019-10-03 19:50:04 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-12-03 23:04:10 -0500 |
| commit | 1de770d5442769778c96bdac271590b44b2c7b78 (patch) | |
| tree | b35b1b0fae01ea4af15f852dd16d8b01c76ea5ee /include | |
| parent | 88718be3001055fa2801a44ab10570279b3f2cb7 (diff) | |
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 <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
[trini: Add Kconfig files]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/flash.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |
