[mtd] allow modular mtdsuper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux