Searched refs:chr_major (Results 1 – 1 of 1) sorted by relevance
177 int chr_major; member1425 devt = MKDEV(portdev->chr_major, id); in add_port()2006 unregister_chrdev(portdev->chr_major, "virtio-portsdev"); in virtcons_remove()2057 portdev->chr_major = register_chrdev(0, "virtio-portsdev", in virtcons_probe()2059 if (portdev->chr_major < 0) { in virtcons_probe()2062 portdev->chr_major, vdev->index); in virtcons_probe()2063 err = portdev->chr_major; in virtcons_probe()2141 unregister_chrdev(portdev->chr_major, "virtio-portsdev"); in virtcons_probe()