mtd: docg3 trivial renaming

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Mar 26 20:59:14 EDT 2012


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=31716a5ad32771be8339832b62aa030c263c6dac
Commit:     31716a5ad32771be8339832b62aa030c263c6dac
Parent:     2aab52e8fe9bffb451508f37a7affa5370bfcc9e
Author:     Robert Jarzmik <robert.jarzmik at free.fr>
AuthorDate: Sat Mar 3 21:57:33 2012 +0100
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Tue Mar 27 00:43:32 2012 +0100

    mtd: docg3 trivial renaming
    
    Change the name of the mtd so that it is simpler, and is easier to
    cope with by mtdparts.
    
    Signed-off-by: Robert Jarzmik <robert.jarzmik at free.fr>
    Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/devices/docg3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/devices/docg3.c b/drivers/mtd/devices/docg3.c
index fc7932b..3eafef3 100644
--- a/drivers/mtd/devices/docg3.c
+++ b/drivers/mtd/devices/docg3.c
@@ -1804,7 +1804,7 @@ static void __init doc_set_driver_info(int chip_id, struct mtd_info *mtd)
 
 	switch (chip_id) {
 	case DOC_CHIPID_G3:
-		mtd->name = kasprintf(GFP_KERNEL, "DiskOnChip G3 floor %d",
+		mtd->name = kasprintf(GFP_KERNEL, "docg3.%d",
 				      docg3->device_id);
 		docg3->max_block = 2047;
 		break;



More information about the linux-mtd-cvs mailing list