]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/mtd/ofpart.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm...
[karo-tx-linux.git] / drivers / mtd / ofpart.c
index dbd3aa574eaf8462b9bce810ba9742c9c48f2eb2..30bd907a260afe19420fd84b0992018faee82e3a 100644 (file)
@@ -174,7 +174,14 @@ out:
        return rc;
 }
 
+static void __exit ofpart_parser_exit(void)
+{
+       deregister_mtd_parser(&ofpart_parser);
+       deregister_mtd_parser(&ofoldpart_parser);
+}
+
 module_init(ofpart_parser_init);
+module_exit(ofpart_parser_exit);
 
 MODULE_LICENSE("GPL");
 MODULE_DESCRIPTION("Parser for MTD partitioning information in device tree");