Searched refs:LP_MAJOR (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/char/ |
D | lp.c | 930 device_create(lp_class, port->dev, MKDEV(LP_MAJOR, nr), NULL, in lp_register() 1002 device_destroy(lp_class, MKDEV(LP_MAJOR, n)); in lp_detach() 1042 if (register_chrdev(LP_MAJOR, "lp", &lp_fops)) { in lp_init() 1043 printk(KERN_ERR "lp: unable to get major %d\n", LP_MAJOR); in lp_init() 1072 unregister_chrdev(LP_MAJOR, "lp"); in lp_init() 1112 unregister_chrdev(LP_MAJOR, "lp"); in lp_cleanup_module() 1120 MODULE_ALIAS_CHARDEV_MAJOR(LP_MAJOR);
|
/Linux-v5.4/include/uapi/linux/ |
D | major.h | 20 #define LP_MAJOR 6 macro
|