projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ae585b
)
MTD: NAND: mxs_nand_init_dma: Make mxs_nand_init_dma static
author
Adam Ford
<aford173@gmail.com>
Sat, 12 Jan 2019 12:25:48 +0000
(06:25 -0600)
committer
Stefano Babic
<sbabic@denx.de>
Fri, 15 Feb 2019 11:36:44 +0000
(12:36 +0100)
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@gmail.com>
drivers/mtd/nand/raw/mxs_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/raw/mxs_nand.c
b/drivers/mtd/nand/raw/mxs_nand.c
index 2d84bfffe2ed462740b30d9c5d886399206fb0f6..eff852328e6e1d50b1971bed1d81721f96805ec7 100644
(file)
--- 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;