[U-Boot] [PATCH v9 17/21] dm: mtd: Add uclass_driver.flags

Jagan Teki jagan at openedev.com
Sun Oct 30 19:23:49 CET 2016


Add flags for mtd-uclass driver.

Signed-off-by: Jagan Teki <jagan at openedev.com>
---
 drivers/mtd/mtd-uclass.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/mtd-uclass.c b/drivers/mtd/mtd-uclass.c
index acbd713..5922b70 100644
--- a/drivers/mtd/mtd-uclass.c
+++ b/drivers/mtd/mtd-uclass.c
@@ -89,5 +89,6 @@ int dm_add_mtd_device(struct udevice *dev)
 UCLASS_DRIVER(mtd) = {
 	.id		= UCLASS_MTD,
 	.name		= "mtd",
+	.flags		= DM_UC_FLAG_SEQ_ALIAS,
 	.per_device_auto_alloc_size = sizeof(struct mtd_info),
 };
-- 
2.7.4



More information about the U-Boot mailing list