X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fmtd%2Fdevices%2Fmtdram.c;fp=drivers%2Fmtd%2Fdevices%2Fmtdram.c;h=1443117fd8f4afb988becd36beb1d14a084c5646;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=e427c82d5f4cb046ff4234e4ce8919062569fda3;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/drivers/mtd/devices/mtdram.c b/drivers/mtd/devices/mtdram.c index e427c82d5..1443117fd 100644 --- a/drivers/mtd/devices/mtdram.c +++ b/drivers/mtd/devices/mtdram.c @@ -10,6 +10,7 @@ * */ +#include #include #include #include @@ -105,7 +106,6 @@ int mtdram_init_device(struct mtd_info *mtd, void *mapped_address, mtd->type = MTD_RAM; mtd->flags = MTD_CAP_RAM; mtd->size = size; - mtd->writesize = 1; mtd->erasesize = MTDRAM_ERASE_SIZE; mtd->priv = mapped_address;