diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2012-03-03 21:57:33 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-03-27 00:43:32 +0100 |
commit | 31716a5ad32771be8339832b62aa030c263c6dac (patch) | |
tree | 8a4fa64a99846df1ebcf8fff59af1a07de7ed86f /drivers/mtd/devices/docg3.c | |
parent | 2aab52e8fe9bffb451508f37a7affa5370bfcc9e (diff) | |
download | kernel_goldelico_gta04-31716a5ad32771be8339832b62aa030c263c6dac.zip kernel_goldelico_gta04-31716a5ad32771be8339832b62aa030c263c6dac.tar.gz kernel_goldelico_gta04-31716a5ad32771be8339832b62aa030c263c6dac.tar.bz2 |
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.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; |