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