Searched refs:LP_MAJOR (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/char/ |
D | lp.c | 921 device_create(lp_class, port->dev, MKDEV(LP_MAJOR, nr), NULL, in lp_register() 1015 if (register_chrdev (LP_MAJOR, "lp", &lp_fops)) { in lp_init() 1016 printk (KERN_ERR "lp: unable to get major %d\n", LP_MAJOR); in lp_init() 1045 unregister_chrdev(LP_MAJOR, "lp"); in lp_init() 1087 unregister_chrdev(LP_MAJOR, "lp"); in lp_cleanup_module() 1092 device_destroy(lp_class, MKDEV(LP_MAJOR, offset)); in lp_cleanup_module() 1101 MODULE_ALIAS_CHARDEV_MAJOR(LP_MAJOR);
|
/Linux-v4.19/include/uapi/linux/ |
D | major.h | 20 #define LP_MAJOR 6 macro
|