Searched refs:scb2_mtd (Results 1 – 1 of 1) sorted by relevance
64 static struct mtd_info *scb2_mtd; variable172 if (!scb2_mtd) { in scb2_flash_probe()180 scb2_mtd->owner = THIS_MODULE; in scb2_flash_probe()181 if (scb2_fixup_mtd(scb2_mtd) < 0) { in scb2_flash_probe()182 mtd_device_unregister(scb2_mtd); in scb2_flash_probe()183 map_destroy(scb2_mtd); in scb2_flash_probe()194 mtd_device_register(scb2_mtd, NULL, 0); in scb2_flash_probe()201 if (!scb2_mtd) in scb2_flash_remove()205 mtd_lock(scb2_mtd, 0, scb2_mtd->size); in scb2_flash_remove()207 mtd_device_unregister(scb2_mtd); in scb2_flash_remove()[all …]