Searched refs:pktdev_major (Results 1 – 1 of 1) sorted by relevance
96 static int pktdev_major; variable2701 disk->major = pktdev_major; in pkt_setup_dev()2709 pd->pkt_dev = MKDEV(pktdev_major, idx); in pkt_setup_dev()2891 ret = register_blkdev(pktdev_major, DRIVER_NAME); in pkt_init()2896 if (!pktdev_major) in pkt_init()2897 pktdev_major = ret; in pkt_init()2919 unregister_blkdev(pktdev_major, DRIVER_NAME); in pkt_init()2934 unregister_blkdev(pktdev_major, DRIVER_NAME); in pkt_exit()