mtd: spi-nor: fsl-quadspi: fix api naming typo _init_ahb_read
authorYogesh Gaur <yogeshnarayan.gaur@nxp.com>
Tue, 2 Jan 2018 10:39:12 +0000 (16:09 +0530)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Fri, 18 May 2018 10:53:23 +0000 (12:53 +0200)
Fix api naming typo _init_ahb_read
fsl_qspi_init_abh_read --> fsl_qspi_init_ahb_read

Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
Acked-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/spi-nor/fsl-quadspi.c

index 3e3c0bb..1b7f9aa 100644 (file)
@@ -661,7 +661,7 @@ static void fsl_qspi_set_map_addr(struct fsl_qspi *q)
  * causes the controller to clear the buffer, and use the sequence pointed
  * by the QUADSPI_BFGENCR[SEQID] to initiate a read from the flash.
  */
-static void fsl_qspi_init_abh_read(struct fsl_qspi *q)
+static void fsl_qspi_init_ahb_read(struct fsl_qspi *q)
 {
        void __iomem *base = q->iobase;
        int seqid;
@@ -795,7 +795,7 @@ static int fsl_qspi_nor_setup_last(struct fsl_qspi *q)
        fsl_qspi_init_lut(q);
 
        /* Init for AHB read */
-       fsl_qspi_init_abh_read(q);
+       fsl_qspi_init_ahb_read(q);
 
        return 0;
 }