Searched refs:srom_devs (Results 1 – 1 of 1) sorted by relevance
76 static int srom_devs; /* Number of SROM partitions */ variable391 srom_devs = i; in srom_init()394 if (srom_devs == 0) { in srom_init()401 result = register_chrdev_region(dev, srom_devs, "srom"); in srom_init()403 result = alloc_chrdev_region(&dev, 0, srom_devs, "srom"); in srom_init()413 result = cdev_add(&srom_cdev, dev, srom_devs); in srom_init()434 for (i = 0; i < srom_devs; i++) { in srom_init()447 for (i = 0; i < srom_devs; i++) in srom_init()455 unregister_chrdev_region(dev, srom_devs); in srom_init()465 for (i = 0; i < srom_devs; i++) in srom_cleanup()[all …]