[mtd] allow modular mtdsuper

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Woodhouse <dwmw2@...>
Cc: lkml <linux-kernel@...>
Date: Tuesday, September 4, 2007 - 6:21 pm

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
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[mtd] allow modular mtdsuper, Jason Lunz, (Tue Sep 4, 6:21 pm)
Re: [mtd] allow modular mtdsuper, Satyam Sharma, (Tue Sep 4, 7:10 pm)