[-mm patch] drivers/mtd/mtdbdi.c is no longer an own module

Adrian Bunk bunk at kernel.org
Tue Aug 14 17:23:11 EDT 2007


mtdbdi.c is now in the same module as mtdcore.c

Signed-off-by: Adrian Bunk <bunk at kernel.org>

---

BTW: I'd even suggest merging mtdbdi.c into mtdcore.c since it only
     contains these 3 small structs.

 drivers/mtd/mtdbdi.c |    4 ----
 1 file changed, 4 deletions(-)

12a09e985ee2fe258cecfef9b811f9202ec87c67 
diff --git a/drivers/mtd/mtdbdi.c b/drivers/mtd/mtdbdi.c
index f9f8eef..ae2c06c 100644
--- a/drivers/mtd/mtdbdi.c
+++ b/drivers/mtd/mtdbdi.c
@@ -22,7 +22,6 @@
 struct backing_dev_info mtd_bdi_unmappable = {
 	.capabilities	= BDI_CAP_MAP_COPY,
 };
-EXPORT_SYMBOL_GPL(mtd_bdi_unmappable);
 
 /*
  * backing device capabilities for R/O mappable devices (such as ROM)
@@ -33,7 +32,6 @@ struct backing_dev_info mtd_bdi_ro_mappable = {
 	.capabilities	= (BDI_CAP_MAP_COPY | BDI_CAP_MAP_DIRECT |
 			   BDI_CAP_EXEC_MAP | BDI_CAP_READ_MAP),
 };
-EXPORT_SYMBOL_GPL(mtd_bdi_ro_mappable);
 
 /*
  * backing device capabilities for writable mappable devices (such as RAM)
@@ -45,6 +43,4 @@ struct backing_dev_info mtd_bdi_rw_mappable = {
 			   BDI_CAP_EXEC_MAP | BDI_CAP_READ_MAP |
 			   BDI_CAP_WRITE_MAP),
 };
-EXPORT_SYMBOL_GPL(mtd_bdi_rw_mappable);
 
-MODULE_LICENSE("GPL v2");




More information about the linux-mtd mailing list