Searched refs:vmlogrdr_major (Results 1 – 1 of 1) sorted by relevance
158 static int vmlogrdr_major = 0; variable786 MKDEV(vmlogrdr_major, in vmlogrdr_register_device()802 device_destroy(vmlogrdr_class, MKDEV(vmlogrdr_major, priv->minor_num)); in vmlogrdr_unregister_device()845 if (vmlogrdr_major) { in vmlogrdr_cleanup()846 unregister_chrdev_region(MKDEV(vmlogrdr_major, 0), MAXMINOR); in vmlogrdr_cleanup()847 vmlogrdr_major=0; in vmlogrdr_cleanup()868 vmlogrdr_major = MAJOR(dev); in vmlogrdr_init()