summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-07-29 08:58:02 +0200
committerTom Rini <trini@konsulko.com>2019-07-29 17:58:52 -0400
commit7bf9972643cda406b2ba13f418d535d500d53628 (patch)
tree326689e622cef9a3b35ecd6a60b8d509e3ed3997 /drivers/mtd/nand
parent3d25b33ad6907658d91e57467a33c7e39258fa0e (diff)
downloadu-boot-7bf9972643cda406b2ba13f418d535d500d53628.tar.gz
u-boot-7bf9972643cda406b2ba13f418d535d500d53628.tar.bz2
u-boot-7bf9972643cda406b2ba13f418d535d500d53628.zip
nand: davinci: make davinci_nand_init() static
This function is only used within the driver itself. No need to export it. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r--drivers/mtd/nand/raw/davinci_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/davinci_nand.c b/drivers/mtd/nand/raw/davinci_nand.c
index cfa9b535c8..e1c4498cb9 100644
--- a/drivers/mtd/nand/raw/davinci_nand.c
+++ b/drivers/mtd/nand/raw/davinci_nand.c
@@ -730,7 +730,7 @@ static int nand_davinci_dev_ready(struct mtd_info *mtd)
return __raw_readl(&davinci_emif_regs->nandfsr) & 0x1;
}
-void davinci_nand_init(struct nand_chip *nand)
+static void davinci_nand_init(struct nand_chip *nand)
{
#if defined CONFIG_KEYSTONE_RBL_NAND
int i;