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