summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2013-08-11 07:57:30 +0200
committerBrian Norris <computersforpeace@gmail.com>2013-10-28 00:27:00 +0100
commit8c5194361de9f691a20a4f31c4945c8c95f9268b (patch)
treedc600aa847ff76fefceec632f5e49dab29db179f /drivers
parentmtd: dataflash: remove unused field (diff)
downloadlinux-8c5194361de9f691a20a4f31c4945c8c95f9268b.tar.xz
linux-8c5194361de9f691a20a4f31c4945c8c95f9268b.zip
mtd: denali: make init function static
It's only used in this file. Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/denali.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c
index 2ed2bb33a6e7..154b033b4e8e 100644
--- a/drivers/mtd/nand/denali.c
+++ b/drivers/mtd/nand/denali.c
@@ -1394,7 +1394,7 @@ static struct nand_bbt_descr bbt_mirror_descr = {
};
/* initialize driver data structures */
-void denali_drv_init(struct denali_nand_info *denali)
+static void denali_drv_init(struct denali_nand_info *denali)
{
denali->idx = 0;