summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/mxs_nand.c
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2018-06-22 18:06:13 +0200
committerStefano Babic <sbabic@denx.de>2018-06-27 09:07:55 +0200
commit0d4e9d8be23a30f5f1ca5bad2188e8a1c9848c5c (patch)
treeac90ffecff8c16f0e0fe2fbda12d2fdedcb52c06 /drivers/mtd/nand/mxs_nand.c
parent931747e517b19387716cd56057e4afa9e2cdfff4 (diff)
mtd: nand: mxs_nand: use more precise function name
This function initializes DMA descriptors so mxs_nand_init_dma is more precise. It also frees up the rather generic name mxs_nand_init. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'drivers/mtd/nand/mxs_nand.c')
-rw-r--r--drivers/mtd/nand/mxs_nand.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/nand/mxs_nand.c b/drivers/mtd/nand/mxs_nand.c
index 65fed66309..6bd3cb12f9 100644
--- a/drivers/mtd/nand/mxs_nand.c
+++ b/drivers/mtd/nand/mxs_nand.c
@@ -1137,7 +1137,7 @@ int mxs_nand_alloc_buffers(struct mxs_nand_info *nand_info)
/*
* Initializes the NFC hardware.
*/
-int mxs_nand_init(struct mxs_nand_info *info)
+int mxs_nand_init_dma(struct mxs_nand_info *info)
{
int i = 0, j, ret = 0;
@@ -1212,7 +1212,7 @@ int mxs_nand_init_spl(struct nand_chip *nand)
if (err)
return err;
- err = mxs_nand_init(nand_info);
+ err = mxs_nand_init_dma(nand_info);
if (err)
return err;
@@ -1259,7 +1259,7 @@ void board_nand_init(void)
if (err)
goto err1;
- err = mxs_nand_init(nand_info);
+ err = mxs_nand_init_dma(nand_info);
if (err)
goto err2;