diff options
Diffstat (limited to 'drivers/mtd/inftlcore.c')
-rw-r--r-- | drivers/mtd/inftlcore.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/inftlcore.c b/drivers/mtd/inftlcore.c index 4116535805f1..a1b2de605000 100644 --- a/drivers/mtd/inftlcore.c +++ b/drivers/mtd/inftlcore.c | |||
@@ -77,7 +77,7 @@ static void inftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) | |||
77 | 77 | ||
78 | inftl->mbd.mtd = mtd; | 78 | inftl->mbd.mtd = mtd; |
79 | inftl->mbd.devnum = -1; | 79 | inftl->mbd.devnum = -1; |
80 | inftl->mbd.blksize = 512; | 80 | |
81 | inftl->mbd.tr = tr; | 81 | inftl->mbd.tr = tr; |
82 | 82 | ||
83 | if (INFTL_mount(inftl) < 0) { | 83 | if (INFTL_mount(inftl) < 0) { |
@@ -945,6 +945,7 @@ static struct mtd_blktrans_ops inftl_tr = { | |||
945 | .name = "inftl", | 945 | .name = "inftl", |
946 | .major = INFTL_MAJOR, | 946 | .major = INFTL_MAJOR, |
947 | .part_bits = INFTL_PARTN_BITS, | 947 | .part_bits = INFTL_PARTN_BITS, |
948 | .blksize = 512, | ||
948 | .getgeo = inftl_getgeo, | 949 | .getgeo = inftl_getgeo, |
949 | .readsect = inftl_readblock, | 950 | .readsect = inftl_readblock, |
950 | .writesect = inftl_writeblock, | 951 | .writesect = inftl_writeblock, |