summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/docg3.c
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2012-03-03 21:57:33 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-03-27 00:43:32 +0100
commit31716a5ad32771be8339832b62aa030c263c6dac (patch)
tree8a4fa64a99846df1ebcf8fff59af1a07de7ed86f /drivers/mtd/devices/docg3.c
parent2aab52e8fe9bffb451508f37a7affa5370bfcc9e (diff)
downloadop-kernel-dev-31716a5ad32771be8339832b62aa030c263c6dac.zip
op-kernel-dev-31716a5ad32771be8339832b62aa030c263c6dac.tar.gz
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>
Diffstat (limited to 'drivers/mtd/devices/docg3.c')
-rw-r--r--drivers/mtd/devices/docg3.c2
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;
OpenPOWER on IntegriCloud