]> Pileus Git - ~andy/linux/blobdiff - drivers/mtd/redboot.c
ASoC: uda1380: Return proper error in uda1380_modinit failure path
[~andy/linux] / drivers / mtd / redboot.c
index 56e48ea7ff0530bdac72324596006bb730a7363f..e366b1d84eade1685821dcf5021427e993656842 100644 (file)
@@ -28,6 +28,7 @@
 
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
+#include <linux/module.h>
 
 struct fis_image_desc {
     unsigned char name[16];      // Null terminated name
@@ -296,6 +297,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);