aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/pmc551.c
diff options
context:
space:
mode:
authorJoern Engel <joern@wh.fh-wedel.de>2006-05-30 08:25:24 -0400
committerJoern Engel <joern@wh.fh-wedel.de>2006-05-30 08:25:24 -0400
commit92cbfdcc3661d7670b01b92b89811cd3a2412297 (patch)
tree70e4c9a94a121594e58a57c4c454ac854bb10a3a /drivers/mtd/devices/pmc551.c
parente369d62e92d526a7ed641e2f0b2978fb0ce366c5 (diff)
[MTD] replace MTD_RAM with MTD_GENERIC_TYPE
Ram devices get the extra capability of MTD_NO_ERASE - not requiring an explicit erase before writing to it. Currently only mtdblock uses this capability. Rest of the patch is a simple text replacement. Signed-off-by: Joern Engel <joern@wh.fh-wedel.de>
Diffstat (limited to 'drivers/mtd/devices/pmc551.c')
-rw-r--r--drivers/mtd/devices/pmc551.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/pmc551.c b/drivers/mtd/devices/pmc551.c
index 666cce1bf60c..aa9f6c993125 100644
--- a/drivers/mtd/devices/pmc551.c
+++ b/drivers/mtd/devices/pmc551.c
@@ -775,7 +775,7 @@ static int __init init_pmc551(void)
775 mtd->write = pmc551_write; 775 mtd->write = pmc551_write;
776 mtd->point = pmc551_point; 776 mtd->point = pmc551_point;
777 mtd->unpoint = pmc551_unpoint; 777 mtd->unpoint = pmc551_unpoint;
778 mtd->type = MTD_RAM; 778 mtd->type = MTD_GENERIC_TYPE;
779 mtd->name = "PMC551 RAM board"; 779 mtd->name = "PMC551 RAM board";
780 mtd->erasesize = 0x10000; 780 mtd->erasesize = 0x10000;
781 mtd->owner = THIS_MODULE; 781 mtd->owner = THIS_MODULE;