Set the new introduced flag to be able to check if the cdev is an mmc/mci device. Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> --- drivers/mci/mci-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c index 017f25d35f..c0fbcb385f 100644 --- a/drivers/mci/mci-core.c +++ b/drivers/mci/mci-core.c @@ -420,6 +420,7 @@ static void mci_part_add(struct mci *mci, uint64_t size, part->size = size; part->blk.cdev.name = name; part->blk.cdev.partname = partname; + part->blk.cdev.flags |= DEVFS_IS_MCI_DEV; part->blk.blockbits = SECTOR_SHIFT; part->blk.num_blocks = mci_calc_blk_cnt(size, part->blk.blockbits); part->area_type = area_type; -- 2.29.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox