projects
/
openwrt
/
staging
/
wigyori.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
brcm47xx: add initial support for kernel 3.8
[openwrt/staging/wigyori.git]
/
target
/
linux
/
brcm47xx
/
patches-3.8
/
031-mtd-bcm47xxsflash-write-number-of-written-bytes.patch
1
--- a/drivers/mtd/devices/bcm47xxsflash.c
2
+++ b/drivers/mtd/devices/bcm47xxsflash.c
3
@@ -23,6 +23,7 @@ static int bcm47xxsflash_read(struct mtd
4
5
memcpy_fromio(buf, (void __iomem *)KSEG0ADDR(b47s->window + from),
6
len);
7
+ *retlen = len;
8
9
return len;
10
}