]> Pileus Git - ~andy/linux/blobdiff - drivers/mtd/redboot.c
mtd: provide an alias for the redboot module name
[~andy/linux] / drivers / mtd / redboot.c
index 56e48ea7ff0530bdac72324596006bb730a7363f..f40ba86106256d46421bf9c03d83db43633597a8 100644 (file)
@@ -296,6 +296,9 @@ static struct mtd_part_parser redboot_parser = {
        .name = "RedBoot",
 };
 
+/* mtd parsers will request the module by parser name */
+MODULE_ALIAS("RedBoot");
+
 static int __init redboot_parser_init(void)
 {
        return register_mtd_parser(&redboot_parser);