diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2012-03-03 15:57:33 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-03-26 19:43:32 -0400 |
commit | 31716a5ad32771be8339832b62aa030c263c6dac (patch) | |
tree | 8a4fa64a99846df1ebcf8fff59af1a07de7ed86f | |
parent | 2aab52e8fe9bffb451508f37a7affa5370bfcc9e (diff) |
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@free.fr>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r-- | 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 fc7932b33da4..3eafef383a39 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) | |||
1804 | 1804 | ||
1805 | switch (chip_id) { | 1805 | switch (chip_id) { |
1806 | case DOC_CHIPID_G3: | 1806 | case DOC_CHIPID_G3: |
1807 | mtd->name = kasprintf(GFP_KERNEL, "DiskOnChip G3 floor %d", | 1807 | mtd->name = kasprintf(GFP_KERNEL, "docg3.%d", |
1808 | docg3->device_id); | 1808 | docg3->device_id); |
1809 | docg3->max_block = 2047; | 1809 | docg3->max_block = 2047; |
1810 | break; | 1810 | break; |