Home
last modified time | relevance | path

Searched refs:LP_MAJOR (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/char/
Dlp.c882 device_create(lp_class, port->dev, MKDEV(LP_MAJOR, nr), NULL, in lp_register()
976 if (register_chrdev (LP_MAJOR, "lp", &lp_fops)) { in lp_init()
977 printk (KERN_ERR "lp: unable to get major %d\n", LP_MAJOR); in lp_init()
1006 unregister_chrdev(LP_MAJOR, "lp"); in lp_init()
1048 unregister_chrdev(LP_MAJOR, "lp"); in lp_cleanup_module()
1053 device_destroy(lp_class, MKDEV(LP_MAJOR, offset)); in lp_cleanup_module()
1062 MODULE_ALIAS_CHARDEV_MAJOR(LP_MAJOR);
/linux-4.1.27/include/uapi/linux/
Dmajor.h19 #define LP_MAJOR 6 macro