Searched refs:LP_MAJOR (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/char/ |
D | lp.c | 937 device_create(&lp_class, port->dev, MKDEV(LP_MAJOR, nr), NULL, in lp_register() 1009 device_destroy(&lp_class, MKDEV(LP_MAJOR, n)); in lp_detach() 1049 if (register_chrdev(LP_MAJOR, "lp", &lp_fops)) { in lp_init() 1050 printk(KERN_ERR "lp: unable to get major %d\n", LP_MAJOR); in lp_init() 1077 unregister_chrdev(LP_MAJOR, "lp"); in lp_init() 1117 unregister_chrdev(LP_MAJOR, "lp"); in lp_cleanup_module() 1125 MODULE_ALIAS_CHARDEV_MAJOR(LP_MAJOR);
|
/linux-6.6.21/include/uapi/linux/ |
D | major.h | 20 #define LP_MAJOR 6 macro
|