Searched refs:LP_MAJOR (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/char/ |
D | lp.c | 935 device_create(lp_class, port->dev, MKDEV(LP_MAJOR, nr), NULL, in lp_register() 1007 device_destroy(lp_class, MKDEV(LP_MAJOR, n)); in lp_detach() 1047 if (register_chrdev(LP_MAJOR, "lp", &lp_fops)) { in lp_init() 1048 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.1.9/include/uapi/linux/ |
D | major.h | 20 #define LP_MAJOR 6 macro
|