diff options
-rw-r--r-- | drivers/mtd/mtdchar.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/mtdchar.c b/drivers/mtd/mtdchar.c index 548b89204aa2..da3f1a8f756e 100644 --- a/drivers/mtd/mtdchar.c +++ b/drivers/mtd/mtdchar.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * $Id: mtdchar.c,v 1.68 2005/02/08 19:12:50 nico Exp $ | 2 | * $Id: mtdchar.c,v 1.70 2005/04/01 15:36:11 nico Exp $ |
3 | * | 3 | * |
4 | * Character-device access to raw MTD devices. | 4 | * Character-device access to raw MTD devices. |
5 | * | 5 | * |
@@ -583,6 +583,7 @@ static int mtd_ioctl(struct inode *inode, struct file *file, | |||
583 | case MTD_OTP_OFF: | 583 | case MTD_OTP_OFF: |
584 | break; | 584 | break; |
585 | } | 585 | } |
586 | file->f_pos = 0; | ||
586 | break; | 587 | break; |
587 | } | 588 | } |
588 | 589 | ||