Searched refs:MTD_CHAR_MAJOR (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/drivers/mtd/ |
D | mtdchar.c | 560 DEVFS_FL_DEFAULT, MTD_CHAR_MAJOR, mtd->index*2, in mtd_notify_add() 566 DEVFS_FL_DEFAULT, MTD_CHAR_MAJOR, mtd->index*2+1, in mtd_notify_add() 584 if (devfs_register_chrdev(MTD_CHAR_MAJOR, "mtd", &mtd_fops)) in init_mtdchar() 587 MTD_CHAR_MAJOR); in init_mtdchar() 595 if (register_chrdev(MTD_CHAR_MAJOR, "mtd", &mtd_fops)) in init_mtdchar() 598 MTD_CHAR_MAJOR); in init_mtdchar() 611 devfs_unregister_chrdev(MTD_CHAR_MAJOR, "mtd"); in cleanup_mtdchar() 613 unregister_chrdev(MTD_CHAR_MAJOR, "mtd"); in cleanup_mtdchar()
|
/linux-2.4.37.9/include/linux/mtd/ |
D | mtd.h | 30 #define MTD_CHAR_MAJOR 90 macro
|