[PATCH] Add MODULE_DESCRIPTION to various modules in drivers/mtd
Terry Chia
terrycwk1994 at gmail.com
Wed Jul 2 23:55:42 PDT 2014
This starts to address
https://bugzilla.kernel.org/show_bug.cgi?id=10770
Signed-off-by: Terry Chia <terrycwk1994 at gmail.com>
---
drivers/mtd/chips/cfi_cmdset_0020.c | 1 +
drivers/mtd/chips/cfi_util.c | 1 +
drivers/mtd/maps/map_funcs.c | 1 +
drivers/mtd/nand/denali.c | 1 +
4 files changed, 4 insertions(+)
diff --git a/drivers/mtd/chips/cfi_cmdset_0020.c b/drivers/mtd/chips/cfi_cmdset_0020.c
index 423666b..55f3586 100644
--- a/drivers/mtd/chips/cfi_cmdset_0020.c
+++ b/drivers/mtd/chips/cfi_cmdset_0020.c
@@ -1398,3 +1398,4 @@ static void cfi_staa_destroy(struct mtd_info *mtd)
}
MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("MTD chip driver for ST (Advanced Architecture) flash chips");
diff --git a/drivers/mtd/chips/cfi_util.c b/drivers/mtd/chips/cfi_util.c
index 09c79bd..c064484 100644
--- a/drivers/mtd/chips/cfi_util.c
+++ b/drivers/mtd/chips/cfi_util.c
@@ -249,3 +249,4 @@ int cfi_varsize_frob(struct mtd_info *mtd, varsize_frob_t frob,
EXPORT_SYMBOL(cfi_varsize_frob);
MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("MTD chip driver for generic utility functions");
diff --git a/drivers/mtd/maps/map_funcs.c b/drivers/mtd/maps/map_funcs.c
index 3f26837..089906a 100644
--- a/drivers/mtd/maps/map_funcs.c
+++ b/drivers/mtd/maps/map_funcs.c
@@ -41,3 +41,4 @@ void simple_map_init(struct map_info *map)
EXPORT_SYMBOL(simple_map_init);
MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("Out-of-line map I/O functions for simple maps");
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c
index 9f2012a..d373ed2 100644
--- a/drivers/mtd/nand/denali.c
+++ b/drivers/mtd/nand/denali.c
@@ -28,6 +28,7 @@
#include "denali.h"
MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("NAND Flash Controller Device Driver");
/* We define a module parameter that allows the user to override
* the hardware and decide what timing mode should be used.
--
1.9.3
More information about the linux-mtd
mailing list