From: sbabic at denx.de Date: Sat, 16 Feb 2019 10:26:42 +0000 (UTC) Subject: [U-Boot] MTD: NAND: mxs_nand_init_dma: Make mxs_nand_init_dma static In-Reply-To: <20190112122548.11293-1-aford173@gmail.com> Message-ID: <20190216102952.989DFC21E6C@lists.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 e3341812a2..82bd03868a 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; > Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================