Searched refs:chr_major (Results 1 – 1 of 1) sorted by relevance
158 int chr_major; member1363 devt = MKDEV(portdev->chr_major, id); in add_port()1933 unregister_chrdev(portdev->chr_major, "virtio-portsdev"); in virtcons_remove()1980 portdev->chr_major = register_chrdev(0, "virtio-portsdev", in virtcons_probe()1982 if (portdev->chr_major < 0) { in virtcons_probe()1985 portdev->chr_major, vdev->index); in virtcons_probe()1986 err = portdev->chr_major; in virtcons_probe()2062 unregister_chrdev(portdev->chr_major, "virtio-portsdev"); in virtcons_probe()