mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
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>
This commit is contained in:
parent
3d25b33ad6
commit
7bf9972643
2 changed files with 1 additions and 3 deletions
|
@ -95,6 +95,4 @@ struct davinci_emif_regs {
|
|||
#define DAVINCI_ABCR_ASIZE_16BIT 1
|
||||
#define DAVINCI_ABCR_ASIZE_8BIT 0
|
||||
|
||||
void davinci_nand_init(struct nand_chip *nand);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue