@@ -212,7 +212,7 @@ nandc_set_reg(chip, reg, \
212212/* Returns the dma address for reg read buffer */
213213#define reg_buf_dma_addr (chip , vaddr ) \
214214 ((chip)->reg_read_dma + \
215- ((uint8_t *)(vaddr) - (uint8_t *)(chip)->reg_read_buf))
215+ ((u8 *)(vaddr) - (u8 *)(chip)->reg_read_buf))
216216
217217#define QPIC_PER_CW_CMD_ELEMENTS 32
218218#define QPIC_PER_CW_CMD_SGL 32
@@ -1884,7 +1884,7 @@ static void qcom_nandc_codeword_fixup(struct qcom_nand_host *host, int page)
18841884}
18851885
18861886/* implements ecc->read_page() */
1887- static int qcom_nandc_read_page (struct nand_chip * chip , uint8_t * buf ,
1887+ static int qcom_nandc_read_page (struct nand_chip * chip , u8 * buf ,
18881888 int oob_required , int page )
18891889{
18901890 struct qcom_nand_host * host = to_qcom_nand_host (chip );
@@ -1912,7 +1912,7 @@ static int qcom_nandc_read_page(struct nand_chip *chip, uint8_t *buf,
19121912}
19131913
19141914/* implements ecc->read_page_raw() */
1915- static int qcom_nandc_read_page_raw (struct nand_chip * chip , uint8_t * buf ,
1915+ static int qcom_nandc_read_page_raw (struct nand_chip * chip , u8 * buf ,
19161916 int oob_required , int page )
19171917{
19181918 struct mtd_info * mtd = nand_to_mtd (chip );
@@ -1958,7 +1958,7 @@ static int qcom_nandc_read_oob(struct nand_chip *chip, int page)
19581958}
19591959
19601960/* implements ecc->write_page() */
1961- static int qcom_nandc_write_page (struct nand_chip * chip , const uint8_t * buf ,
1961+ static int qcom_nandc_write_page (struct nand_chip * chip , const u8 * buf ,
19621962 int oob_required , int page )
19631963{
19641964 struct qcom_nand_host * host = to_qcom_nand_host (chip );
@@ -2035,7 +2035,7 @@ static int qcom_nandc_write_page(struct nand_chip *chip, const uint8_t *buf,
20352035
20362036/* implements ecc->write_page_raw() */
20372037static int qcom_nandc_write_page_raw (struct nand_chip * chip ,
2038- const uint8_t * buf , int oob_required ,
2038+ const u8 * buf , int oob_required ,
20392039 int page )
20402040{
20412041 struct mtd_info * mtd = nand_to_mtd (chip );
0 commit comments