diff options
-rw-r--r-- | drivers/mtd/maps/ixp4xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/maps/ixp4xx.c b/drivers/mtd/maps/ixp4xx.c index 7b0515297411..7513d90fee6f 100644 --- a/drivers/mtd/maps/ixp4xx.c +++ b/drivers/mtd/maps/ixp4xx.c | |||
@@ -107,8 +107,8 @@ static void ixp4xx_copy_from(struct map_info *map, void *to, | |||
107 | return; | 107 | return; |
108 | 108 | ||
109 | if (from & 1) { | 109 | if (from & 1) { |
110 | *dest++ = BYTE1(flash_read16(src)); | 110 | *dest++ = BYTE1(flash_read16(src-1)); |
111 | src++; | 111 | src++; |
112 | --len; | 112 | --len; |
113 | } | 113 | } |
114 | 114 | ||