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 <[EMAIL PROTECTED]> --- 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/