Searched refs:MTD_DEVT (Results 1 – 1 of 1) sorted by relevance
86 #define MTD_DEVT(index) MKDEV(MTD_CHAR_MAJOR, (index)*2) macro94 dev_t index = MTD_DEVT(mtd->index); in mtd_release()741 mtd->dev.devt = MTD_DEVT(i); in add_mtd_device()759 device_create(&mtd_class, mtd->dev.parent, MTD_DEVT(i) + 1, NULL, in add_mtd_device()