From: Adam Ford Date: Sat, 12 Jan 2019 12:25:48 +0000 (-0600) Subject: MTD: NAND: mxs_nand_init_dma: Make mxs_nand_init_dma static X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=5645df9e00a01407730dc11d3a2bc4969203dc8c;p=u-boot.git MTD: NAND: mxs_nand_init_dma: Make mxs_nand_init_dma static mxs_nand_init_dma is only referenced from mxs_nand.c. It's not referenced in any headers or outside code, so this patch defines it as static. Signed-off-by: Adam Ford --- diff --git a/drivers/mtd/nand/raw/mxs_nand.c b/drivers/mtd/nand/raw/mxs_nand.c index 2d84bfffe2..eff852328e 100644 --- a/drivers/mtd/nand/raw/mxs_nand.c +++ b/drivers/mtd/nand/raw/mxs_nand.c @@ -1092,7 +1092,7 @@ int mxs_nand_alloc_buffers(struct mxs_nand_info *nand_info) /* * Initializes the NFC hardware. */ -int mxs_nand_init_dma(struct mxs_nand_info *info) +static int mxs_nand_init_dma(struct mxs_nand_info *info) { int i = 0, j, ret = 0;