MTD_CHAR_MAJOR 1177 drivers/mtd/mtdchar.c ret = __register_chrdev(MTD_CHAR_MAJOR, 0, 1 << MINORBITS, MTD_CHAR_MAJOR 1181 drivers/mtd/mtdchar.c MTD_CHAR_MAJOR); MTD_CHAR_MAJOR 1190 drivers/mtd/mtdchar.c __unregister_chrdev(MTD_CHAR_MAJOR, 0, 1 << MINORBITS, "mtd"); MTD_CHAR_MAJOR 1193 drivers/mtd/mtdchar.c MODULE_ALIAS_CHARDEV_MAJOR(MTD_CHAR_MAJOR); MTD_CHAR_MAJOR 85 drivers/mtd/mtdcore.c #define MTD_DEVT(index) MKDEV(MTD_CHAR_MAJOR, (index)*2) MTD_CHAR_MAJOR 1124 drivers/mtd/ubi/build.c if (MAJOR(stat.rdev) != MTD_CHAR_MAJOR || !S_ISCHR(stat.mode))