diff options
Diffstat (limited to 'drivers/mtd/nand/denali.c')
-rw-r--r-- | drivers/mtd/nand/denali.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index 1b346474dba..a54c1861194 100644 --- a/drivers/mtd/nand/denali.c +++ b/drivers/mtd/nand/denali.c | |||
@@ -1087,7 +1087,7 @@ static void write_page(struct mtd_info *mtd, struct nand_chip *chip, | |||
1087 | * by write_page above. | 1087 | * by write_page above. |
1088 | * */ | 1088 | * */ |
1089 | static void denali_write_page(struct mtd_info *mtd, struct nand_chip *chip, | 1089 | static void denali_write_page(struct mtd_info *mtd, struct nand_chip *chip, |
1090 | const uint8_t *buf) | 1090 | const uint8_t *buf, int oob_required) |
1091 | { | 1091 | { |
1092 | /* for regular page writes, we let HW handle all the ECC | 1092 | /* for regular page writes, we let HW handle all the ECC |
1093 | * data written to the device. */ | 1093 | * data written to the device. */ |
@@ -1099,7 +1099,7 @@ static void denali_write_page(struct mtd_info *mtd, struct nand_chip *chip, | |||
1099 | * write_page() function above. | 1099 | * write_page() function above. |
1100 | */ | 1100 | */ |
1101 | static void denali_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, | 1101 | static void denali_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, |
1102 | const uint8_t *buf) | 1102 | const uint8_t *buf, int oob_required) |
1103 | { | 1103 | { |
1104 | /* for raw page writes, we want to disable ECC and simply write | 1104 | /* for raw page writes, we want to disable ECC and simply write |
1105 | whatever data is in the buffer. */ | 1105 | whatever data is in the buffer. */ |
@@ -1122,7 +1122,7 @@ static int denali_read_oob(struct mtd_info *mtd, struct nand_chip *chip, | |||
1122 | } | 1122 | } |
1123 | 1123 | ||
1124 | static int denali_read_page(struct mtd_info *mtd, struct nand_chip *chip, | 1124 | static int denali_read_page(struct mtd_info *mtd, struct nand_chip *chip, |
1125 | uint8_t *buf, int page) | 1125 | uint8_t *buf, int oob_required, int page) |
1126 | { | 1126 | { |
1127 | unsigned int max_bitflips; | 1127 | unsigned int max_bitflips; |
1128 | struct denali_nand_info *denali = mtd_to_denali(mtd); | 1128 | struct denali_nand_info *denali = mtd_to_denali(mtd); |
@@ -1175,7 +1175,7 @@ static int denali_read_page(struct mtd_info *mtd, struct nand_chip *chip, | |||
1175 | } | 1175 | } |
1176 | 1176 | ||
1177 | static int denali_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, | 1177 | static int denali_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, |
1178 | uint8_t *buf, int page) | 1178 | uint8_t *buf, int oob_required, int page) |
1179 | { | 1179 | { |
1180 | struct denali_nand_info *denali = mtd_to_denali(mtd); | 1180 | struct denali_nand_info *denali = mtd_to_denali(mtd); |
1181 | 1181 | ||