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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/
H A Dmtdchar.c29 class_device_create(mtd_class, NULL, MKDEV(MTD_CHAR_MAJOR, mtd->index*2),
33 MKDEV(MTD_CHAR_MAJOR, mtd->index*2+1),
42 class_device_destroy(mtd_class, MKDEV(MTD_CHAR_MAJOR, mtd->index*2));
43 class_device_destroy(mtd_class, MKDEV(MTD_CHAR_MAJOR, mtd->index*2+1));
761 if (register_chrdev(MTD_CHAR_MAJOR, "mtd", &mtd_fops)) {
763 MTD_CHAR_MAJOR);
771 unregister_chrdev(MTD_CHAR_MAJOR, "mtd");
783 unregister_chrdev(MTD_CHAR_MAJOR, "mtd");
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/mtd/
H A Dmtd.h20 #define MTD_CHAR_MAJOR 90 macro

Completed in 48 milliseconds