mtd: denali: make init function static

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed Nov 13 13:59:02 EST 2013


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=8c5194361de9f691a20a4f31c4945c8c95f9268b
Commit:     8c5194361de9f691a20a4f31c4945c8c95f9268b
Parent:     be1ee7d88162fa7e2de45b4f952bf566e8ffe97d
Author:     Brian Norris <computersforpeace at gmail.com>
AuthorDate: Sat Aug 10 22:57:30 2013 -0700
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Sun Oct 27 16:27:00 2013 -0700

    mtd: denali: make init function static
    
    It's only used in this file.
    
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/nand/denali.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c
index 2ed2bb3..154b033 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;
 



More information about the linux-mtd-cvs mailing list