diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-12-10 06:48:54 -0500 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-12-10 06:48:54 -0500 |
commit | db06e2a93ff73270e0053c37c88073094e77913d (patch) | |
tree | afc21d2110e242a820f9c257c6ec1f24d30c490f /drivers/mtd/ssfdc.c | |
parent | dffbc42b5adfc77a4165de9f170304eb596de3f4 (diff) |
[MTD] Fix SSFDC build for variable blocksize.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/ssfdc.c')
-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, |