[U-Boot] MTD: NAND: mxs_nand_init_dma: Make mxs_nand_init_dma static
sbabic at denx.de
sbabic at denx.de
Sat Feb 16 10:26:42 UTC 2019
> 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 <aford173 at gmail.com>
> 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
=====================================================================
More information about the U-Boot
mailing list