diff options
-rw-r--r-- | drivers/mtd/ssfdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ssfdc.c b/drivers/mtd/ssfdc.c index e834cc16c9f9..60a3fba90ab8 100644 --- a/drivers/mtd/ssfdc.c +++ b/drivers/mtd/ssfdc.c | |||
@@ -311,7 +311,6 @@ static void ssfdcr_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) | |||
311 | 311 | ||
312 | ssfdc->mbd.mtd = mtd; | 312 | ssfdc->mbd.mtd = mtd; |
313 | ssfdc->mbd.devnum = -1; | 313 | ssfdc->mbd.devnum = -1; |
314 | ssfdc->mbd.blksize = SECTOR_SIZE; | ||
315 | ssfdc->mbd.tr = tr; | 314 | ssfdc->mbd.tr = tr; |
316 | ssfdc->mbd.readonly = 1; | 315 | ssfdc->mbd.readonly = 1; |
317 | 316 | ||
@@ -446,6 +445,7 @@ static struct mtd_blktrans_ops ssfdcr_tr = { | |||
446 | .name = "ssfdc", | 445 | .name = "ssfdc", |
447 | .major = SSFDCR_MAJOR, | 446 | .major = SSFDCR_MAJOR, |
448 | .part_bits = SSFDCR_PARTN_BITS, | 447 | .part_bits = SSFDCR_PARTN_BITS, |
448 | .blksize = SECTOR_SIZE; | ||
449 | .getgeo = ssfdcr_getgeo, | 449 | .getgeo = ssfdcr_getgeo, |
450 | .readsect = ssfdcr_readsect, | 450 | .readsect = ssfdcr_readsect, |
451 | .add_mtd = ssfdcr_add_mtd, | 451 | .add_mtd = ssfdcr_add_mtd, |