Declare mtdsuper to be gpl-licensed so it can access get_mtd_device and
put_mtd_device when loaded as a module.
Signed-off-by: Jason Lunz <lunz@falooley.org>
---
drivers/mtd/mtdsuper.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6.22.6-uml/drivers/mtd/mtdsuper.c
===================================================================
--- linux-2.6.22.6-uml.orig/drivers/mtd/mtdsuper.c
+++ linux-2.6.22.6-uml/drivers/mtd/mtdsuper.c
@@ -14,6 +14,8 @@
#include <linux/namei.h>
#include <linux/ctype.h>
+MODULE_LICENSE("GPL");
+
/*
* compare superblocks to see if they're equivalent
* - they are if the underlying MTD device is the same
-