projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: remove a non-upstream spi core patch
[openwrt/openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
drivers
/
mtd
/
nand
/
rb4xx_nand.c
diff --git
a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
index 5b9841b76b5a41d5f166caaa93a150c0216e0597..981bfcf69d4a328f7ea8e1cf8ced349ee6978400 100644
(file)
--- a/
target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
+++ b/
target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
@@
-107,7
+107,7
@@
static unsigned char rb4xx_nand_read_byte(struct mtd_info *mtd)
unsigned char data = 0;
int err;
unsigned char data = 0;
int err;
- err = rb4xx_cpld_read(&data,
NULL,
1);
+ err = rb4xx_cpld_read(&data, 1);
if (err) {
pr_err("rb4xx_nand: read data failed, err=%d\n", err);
data = 0xff;
if (err) {
pr_err("rb4xx_nand: read data failed, err=%d\n", err);
data = 0xff;
@@
-131,7
+131,7
@@
static void rb4xx_nand_read_buf(struct mtd_info *mtd, unsigned char *buf,
{
int err;
{
int err;
- err = rb4xx_cpld_read(buf,
NULL,
len);
+ err = rb4xx_cpld_read(buf, len);
if (err)
pr_err("rb4xx_nand: read buf failed, err=%d\n", err);
}
if (err)
pr_err("rb4xx_nand: read buf failed, err=%d\n", err);
}