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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dmajor.h19 #define LP_MAJOR 6 macro
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/
H A Dlp.c878 device_create(lp_class, port->dev, MKDEV(LP_MAJOR, nr), NULL,
972 if (register_chrdev (LP_MAJOR, "lp", &lp_fops)) {
973 printk (KERN_ERR "lp: unable to get major %d\n", LP_MAJOR);
1002 unregister_chrdev(LP_MAJOR, "lp");
1044 unregister_chrdev(LP_MAJOR, "lp");
1049 device_destroy(lp_class, MKDEV(LP_MAJOR, offset));
1058 MODULE_ALIAS_CHARDEV_MAJOR(LP_MAJOR); variable

Completed in 46 milliseconds