mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user