Searched refs:syncser_first (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/cris/arch-v32/drivers/
H A Dsync_serial.c305 static dev_t syncser_first; variable
1608 syncser_first = MKDEV(SYNC_SERIAL_MAJOR, 0); etrax_sync_serial_init()
1609 if (register_chrdev_region(syncser_first, minor_count, SYNCSER_NAME)) { etrax_sync_serial_init()
1615 if (alloc_chrdev_region(&syncser_first, 0, minor_count, SYNCSER_NAME)) { etrax_sync_serial_init()
1623 unregister_chrdev_region(syncser_first, minor_count); etrax_sync_serial_init()
1635 unregister_chrdev_region(syncser_first, minor_count); etrax_sync_serial_init()
1641 device_create(syncser_class, NULL, syncser_first, NULL, etrax_sync_serial_init()
1648 unregister_chrdev_region(syncser_first, minor_count); etrax_sync_serial_init()
1655 device_create(syncser_class, NULL, syncser_first, NULL, etrax_sync_serial_init()
1660 if (cdev_add(syncser_cdev, syncser_first, minor_count) < 0) { etrax_sync_serial_init()
1662 device_destroy(syncser_class, syncser_first); etrax_sync_serial_init()
1665 unregister_chrdev_region(syncser_first, minor_count); etrax_sync_serial_init()
1671 SYNCSER_NAME, MAJOR(syncser_first), MINOR(syncser_first)); etrax_sync_serial_init()
1679 device_destroy(syncser_class, syncser_first); etrax_sync_serial_exit()
1684 unregister_chrdev_region(syncser_first, minor_count); etrax_sync_serial_exit()

Completed in 111 milliseconds