Commit 31716a5a authored by Robert Jarzmik's avatar Robert Jarzmik Committed by David Woodhouse

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: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 2aab52e8
...@@ -1804,7 +1804,7 @@ static void __init doc_set_driver_info(int chip_id, struct mtd_info *mtd) ...@@ -1804,7 +1804,7 @@ static void __init doc_set_driver_info(int chip_id, struct mtd_info *mtd)
switch (chip_id) { switch (chip_id) {
case DOC_CHIPID_G3: case DOC_CHIPID_G3:
mtd->name = kasprintf(GFP_KERNEL, "DiskOnChip G3 floor %d", mtd->name = kasprintf(GFP_KERNEL, "docg3.%d",
docg3->device_id); docg3->device_id);
docg3->max_block = 2047; docg3->max_block = 2047;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment